Module: NfgUi::Bootstrap::Utilities::CollapseToggleable
- Includes:
- Collapsible
- Defined in:
- lib/nfg_ui/bootstrap/utilities/collapse_toggleable.rb
Overview
Allows components to have a collapsed state when appropriate
Instance Method Summary collapse
Methods included from Collapsible
#collapse, #collapsed, #collapsible
Instance Method Details
#data ⇒ Object
10 11 12 |
# File 'lib/nfg_ui/bootstrap/utilities/collapse_toggleable.rb', line 10 def data collapse ? super.merge!(collapse_data_attributes) : super end |