Class: NfgUi::Bootstrap::Components::Collapse

Inherits:
Base
  • Object
show all
Includes:
Utilities::Collapsible
Defined in:
lib/nfg_ui/bootstrap/components/collapse.rb

Overview

Bootstrap Collapse Component

Direct Known Subclasses

Components::Patterns::Collapse

Instance Attribute Summary

Attributes inherited from Base

#body, #options, #view_context

Instance Method Summary collapse

Methods included from Utilities::Collapsible

#collapse, #collapsed, #collapsible

Methods inherited from Base

#component_family, #data, #href, #html_options, #id, #initialize, #render, #style

Constructor Details

This class inherits a constructor from NfgUi::Bootstrap::Components::Base

Instance Method Details



8
9
10
# File 'lib/nfg_ui/bootstrap/components/collapse.rb', line 8

def navbar
  options.fetch(:navbar, false)
end