Class: NfgUi::Bootstrap::Components::Navbar
Overview
Instance Attribute Summary
#as
Attributes inherited from Base
#body, #options, #view_context
Instance Method Summary
collapse
#outlined, #theme
#utility_initialize
Methods inherited from Base
#data, #href, #html_options, #id, #initialize, #render, #style
Instance Method Details
#component_family ⇒ Object
12
13
14
|
# File 'lib/nfg_ui/bootstrap/components/navbar.rb', line 12
def component_family
:navbar
end
|
#dark ⇒ Object
24
25
26
|
# File 'lib/nfg_ui/bootstrap/components/navbar.rb', line 24
def dark
options.fetch(:dark, nil)
end
|
#expand ⇒ Object
16
17
18
|
# File 'lib/nfg_ui/bootstrap/components/navbar.rb', line 16
def expand
options.fetch(:expand, :lg)
end
|
#fixed ⇒ Object
32
33
34
|
# File 'lib/nfg_ui/bootstrap/components/navbar.rb', line 32
def fixed
options.fetch(:fixed, nil)
end
|
#light ⇒ Object
20
21
22
|
# File 'lib/nfg_ui/bootstrap/components/navbar.rb', line 20
def light
options.fetch(:light, nil)
end
|
#sticky ⇒ Object
28
29
30
|
# File 'lib/nfg_ui/bootstrap/components/navbar.rb', line 28
def sticky
options.fetch(:sticky, nil)
end
|