Class: NfgUi::Bootstrap::Components::Nav
Overview
Instance Attribute Summary
#as
Attributes inherited from Base
#body, #options, #view_context
Instance Method Summary
collapse
#utility_initialize
#center, #right
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/nav.rb', line 12
def component_family
:nav
end
|
#fill ⇒ Object
16
17
18
|
# File 'lib/nfg_ui/bootstrap/components/nav.rb', line 16
def fill
options.fetch(:fill, false)
end
|
#justified ⇒ Object
20
21
22
|
# File 'lib/nfg_ui/bootstrap/components/nav.rb', line 20
def justified
options.fetch(:justified, false)
end
|
#pill ⇒ Object
24
25
26
|
# File 'lib/nfg_ui/bootstrap/components/nav.rb', line 24
def pill
options.fetch(:pill, false)
end
|
#tabs ⇒ Object
28
29
30
|
# File 'lib/nfg_ui/bootstrap/components/nav.rb', line 28
def tabs
options.fetch(:tabs, false)
end
|
#vertical ⇒ Object
32
33
34
|
# File 'lib/nfg_ui/bootstrap/components/nav.rb', line 32
def vertical
options.fetch(:vertical, false)
end
|