class NfgUi::Bootstrap::Components::BreadcrumbItem

Bootstrap Breadcrumb Item Subcomponent of Breadcrumb getbootstrap.com/docs/4.1/components/breadcrumb/

Public Instance Methods

component_family() click to toggle source
# File lib/nfg_ui/bootstrap/components/breadcrumb_item.rb, line 12
def component_family
  :breadcrumb
end

Private Instance Methods

assistive_html_attributes() click to toggle source
# File lib/nfg_ui/bootstrap/components/breadcrumb_item.rb, line 22
def assistive_html_attributes
  active ? super.merge!(aria: { current: 'page' }) : super
end
base_element() click to toggle source
# File lib/nfg_ui/bootstrap/components/breadcrumb_item.rb, line 18
def base_element
  :li
end