Class: Bootstrap4RailsComponents::Bootstrap::Components::Badge
- Includes:
- Utilities::Themeable, Utilities::Wrappable
- Defined in:
- lib/bootstrap4_rails_components/bootstrap/components/badge.rb
Overview
Bootstrap Badge Component getbootstrap.com/docs/4.1/components/badge/
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, #component_initialize, #data, #href, #html_options, #id, #initialize, #render, #style, #utility_initialize
Constructor Details
This class inherits a constructor from Bootstrap4RailsComponents::Bootstrap::Components::Base
Instance Method Details
#pill ⇒ Object
12 13 14 |
# File 'lib/bootstrap4_rails_components/bootstrap/components/badge.rb', line 12 def pill .fetch(:pill, false) end |