Class: NfgUi::Bootstrap::Components::ListGroup

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

Overview

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

Direct Known Subclasses

Components::Patterns::ListGroup

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

#data, #href, #html_options, #id, #initialize, #render, #style

Constructor Details

This class inherits a constructor from NfgUi::Bootstrap::Components::Base

Instance Method Details

#component_familyObject



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

def component_family
  :list_group
end

#flushObject



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

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