Class: NfgUi::Bootstrap::Components::TabPane
- Includes:
- Utilities::Activatable
- Defined in:
- lib/nfg_ui/bootstrap/components/tab_pane.rb
Overview
Bootstrap Progress Component getbootstrap.com/docs/4.1/components/progress/
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
#body, #options, #view_context
Instance Method Summary collapse
- #component_family ⇒ Object
-
#fade ⇒ Object
Fade is turned on by default This should probably be a global setting.
- #id ⇒ Object
- #tab ⇒ Object
Methods included from Utilities::Activatable
Methods inherited from Base
#data, #href, #html_options, #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/tab_pane.rb', line 11 def component_family :tab end |
#fade ⇒ Object
Fade is turned on by default This should probably be a global setting
25 26 27 |
# File 'lib/nfg_ui/bootstrap/components/tab_pane.rb', line 25 def fade .fetch(:fade, true) end |
#id ⇒ Object
19 20 21 |
# File 'lib/nfg_ui/bootstrap/components/tab_pane.rb', line 19 def id tab ? tab.tr('#', '') : super end |
#tab ⇒ Object
15 16 17 |
# File 'lib/nfg_ui/bootstrap/components/tab_pane.rb', line 15 def tab .fetch(:tab, nil) end |