module NfgUi::Components::Utilities::LeftIconable
Allows components to be setup to accept left icons Pass in a text value to identify the correct icon to be placed on the left side of the component.
Public Instance Methods
left_icon()
click to toggle source
# File lib/nfg_ui/components/utilities/left_iconable.rb, line 10 def left_icon options.fetch(:left_icon, nil) end
Private Instance Methods
non_html_attribute_options()
click to toggle source
Calls superclass method
# File lib/nfg_ui/components/utilities/left_iconable.rb, line 16 def non_html_attribute_options super.push(:left_icon) end