Module: NfgUi::Bootstrap::Utilities::DropdownDirectionable
- Included in:
- Components::ButtonGroup, Components::Dropdown
- Defined in:
- lib/nfg_ui/bootstrap/utilities/dropdown_directionable.rb
Overview
Allows components to supply the dropDIRECTION for menus This is applicable to more than just the Dropdown component
Instance Method Summary collapse
Instance Method Details
#dropleft ⇒ Object
9 10 11 |
# File 'lib/nfg_ui/bootstrap/utilities/dropdown_directionable.rb', line 9 def dropleft .fetch(:dropleft, false) end |
#dropright ⇒ Object
13 14 15 |
# File 'lib/nfg_ui/bootstrap/utilities/dropdown_directionable.rb', line 13 def dropright .fetch(:dropright, false) end |
#dropup ⇒ Object
17 18 19 |
# File 'lib/nfg_ui/bootstrap/utilities/dropdown_directionable.rb', line 17 def dropup .fetch(:dropup, false) end |