Module: NfgUi::Bootstrap::Utilities::Activatable
- Included in:
- Components::BreadcrumbItem, Components::Button, Components::CarouselItem, Components::DropdownItem, Components::ListGroupItem, Components::NavLink, Components::PageItem, Components::TabPane, Components::Elements::Step
- Defined in:
- lib/nfg_ui/bootstrap/utilities/activatable.rb
Overview
Passes in necessary attributes to allow a component to have an active state
Instance Method Summary collapse
Instance Method Details
#active ⇒ Object
9 10 11 |
# File 'lib/nfg_ui/bootstrap/utilities/activatable.rb', line 9 def active .fetch(:active, default_active) end |