class Bootstrap4RailsComponents::Bootstrap::Components::Breadcrumb

Bootstrap Breadcrumb Component getbootstrap.com/docs/4.1/components/breadcrumb/

Public Instance Methods

component_family() click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/components/breadcrumb.rb, line 9
def component_family
  :breadcrumb
end
render() { |: body)| ... } click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/components/breadcrumb.rb, line 13
def render
  content_tag(:nav, aria: { label: 'breadcrumb' }) do
    content_tag(:ol, html_options) do
      (block_given? ? yield : body)
    end
  end
end