module NfgUi::Components::Utilities::Titleable
Allows NFG design system components to utilize the :title option
Public Instance Methods
title()
click to toggle source
# File lib/nfg_ui/components/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/nfg_ui/components/utilities/titleable.rb, line 14 def non_html_attribute_options super.push(:title) end