Class: NfgUi::Bootstrap::Components::ButtonGroup

Inherits:
Base
  • Object
show all
Includes:
Utilities::DropdownDirectionable, Utilities::Sizable
Defined in:
lib/nfg_ui/bootstrap/components/button_group.rb

Overview

Bootstrap Button Group Component An optional parent of the Button component

Direct Known Subclasses

Components::Patterns::ButtonGroup

Instance Attribute Summary

Attributes inherited from Base

#body, #options, #view_context

Instance Method Summary collapse

Methods included from Utilities::Sizable

#size

Methods included from Utilities::DropdownDirectionable

#dropleft, #dropright, #dropup

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

#verticalObject



12
13
14
# File 'lib/nfg_ui/bootstrap/components/button_group.rb', line 12

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