Class: Bootstrap4RailsComponents::Bootstrap::Components::ListGroup

Inherits:
Base
  • Object
show all
Includes:
Utilities::Wrappable
Defined in:
lib/bootstrap4_rails_components/bootstrap/components/list_group.rb

Overview

Bootstrap List Group Component getbootstrap.com/docs/4.1/components/list-group/

Instance Attribute Summary

Attributes included from Utilities::Wrappable

#as

Attributes inherited from Base

#body, #options, #view_context

Instance Method Summary collapse

Methods included from Utilities::Wrappable

#utility_initialize

Methods inherited from Base

#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

#component_familyObject



11
12
13
# File 'lib/bootstrap4_rails_components/bootstrap/components/list_group.rb', line 11

def component_family
  :list_group
end

#flushObject



15
16
17
# File 'lib/bootstrap4_rails_components/bootstrap/components/list_group.rb', line 15

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