Class: Protos::Menu
- Defined in:
- lib/protos/menu.rb,
lib/protos/menu/item.rb
Defined Under Namespace
Classes: Item
Constant Summary collapse
- Directions =
DOCS: A menu of links or actions. daisyui.com/components/menu/
Types::Coercible::Symbol.enum(:vertical, :horizontal)
- Sizes =
Types::Coercible::Symbol.enum(:xs, :sm, :md, :lg, :xl)
- DIRECTIONS =
{ vertical: "", horizontal: "menu-horizontal" }.freeze
- SIZES =
{ xs: "menu-xs", sm: "menu-sm", md: "menu-md", lg: "menu-lg", xl: "menu-xl" }.freeze
Instance Method Summary collapse
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component