class Bootstrap4RailsComponents::Bootstrap::Components::ListGroup
Bootstrap
List Group Component getbootstrap.com/docs/4.1/components/list-group/
Public Instance Methods
component_family()
click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/components/list_group.rb, line 11 def component_family :list_group end
flush()
click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/components/list_group.rb, line 15 def flush options.fetch(:flush, false) end
Private Instance Methods
base_element()
click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/components/list_group.rb, line 21 def base_element as end
css_classes()
click to toggle source
Calls superclass method
Bootstrap4RailsComponents::Bootstrap::Components::Base#css_classes
# File lib/bootstrap4_rails_components/bootstrap/components/list_group.rb, line 25 def css_classes flush ? super + " #{component_css_class}-flush" : super end
default_html_wrapper_element()
click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/components/list_group.rb, line 29 def default_html_wrapper_element :ul end
non_html_attribute_options()
click to toggle source
Calls superclass method
Bootstrap4RailsComponents::Bootstrap::Utilities::Wrappable#non_html_attribute_options
# File lib/bootstrap4_rails_components/bootstrap/components/list_group.rb, line 33 def non_html_attribute_options super.push(:flush) end