Module: NfgUi::Components::Traits::Nav
- Included in:
- Elements::Nav
- Defined in:
- lib/nfg_ui/components/traits/nav.rb
Overview
Access to pre-designed traits
Constant Summary collapse
- TRAITS =
i[tabs fill justify].freeze
Instance Method Summary collapse
Instance Method Details
#fill_trait ⇒ Object
16 17 18 |
# File 'lib/nfg_ui/components/traits/nav.rb', line 16 def fill_trait [:fill] = true end |
#justify_trait ⇒ Object
20 21 22 |
# File 'lib/nfg_ui/components/traits/nav.rb', line 20 def justify_trait [:justify] = true end |
#tabs_trait ⇒ Object
12 13 14 |
# File 'lib/nfg_ui/components/traits/nav.rb', line 12 def tabs_trait [:tabs] = true end |