module Bootstrap4RailsComponents::Bootstrap::Utilities::Titleable

Allows NFG design system components to utilize the :title option

Public Instance Methods

title() click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/utilities/titleable.rb, line 8
def title
  options.fetch(:title, nil)
end

Private Instance Methods

non_html_attribute_options() click to toggle source
Calls superclass method
# File lib/bootstrap4_rails_components/bootstrap/utilities/titleable.rb, line 14
def non_html_attribute_options
  super.push(:title)
end