Class: NfgUi::Bootstrap::Components::Badge
- Includes:
- Utilities::Themeable, Utilities::Wrappable
- Defined in:
- lib/nfg_ui/bootstrap/components/badge.rb
Overview
Bootstrap Badge Component getbootstrap.com/docs/4.1/components/badge/
Direct Known Subclasses
Instance Attribute Summary
Attributes included from Utilities::Wrappable
Attributes inherited from Base
#body, #options, #view_context
Instance Method Summary collapse
Methods included from Utilities::Wrappable
Methods included from Utilities::Themeable
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
#pill ⇒ Object
12 13 14 |
# File 'lib/nfg_ui/bootstrap/components/badge.rb', line 12 def pill .fetch(:pill, false) end |