Class: NfgUi::Bootstrap::Components::NavbarNav
- Includes:
- Utilities::Wrappable
- Defined in:
- lib/nfg_ui/bootstrap/components/navbar_nav.rb
Overview
Bootstrap Navbar Component getbootstrap.com/docs/4.1/components/navbar/
Direct Known Subclasses
Instance Attribute Summary
Attributes included from Utilities::Wrappable
Attributes inherited from Base
#body, #options, #view_context
Instance Method Summary collapse
- #component_family ⇒ Object
-
#left ⇒ Object
Left by default.
- #right ⇒ Object
Methods included from Utilities::Wrappable
Methods inherited from Base
#data, #href, #html_options, #id, #initialize, #render, #style
Constructor Details
This class inherits a constructor from NfgUi::Bootstrap::Components::Base
Instance Method Details
#component_family ⇒ Object
11 12 13 |
# File 'lib/nfg_ui/bootstrap/components/navbar_nav.rb', line 11 def component_family :navbar end |
#left ⇒ Object
Left by default
20 21 22 |
# File 'lib/nfg_ui/bootstrap/components/navbar_nav.rb', line 20 def left .fetch(:left, default_left) end |
#right ⇒ Object
15 16 17 |
# File 'lib/nfg_ui/bootstrap/components/navbar_nav.rb', line 15 def right .fetch(:right, false) end |