class UiBibz::Ui::Core::Icons::Components::GlyphText
Public Instance Methods
pre_render()
click to toggle source
Render html tag
# File lib/ui_bibz/ui/core/icons/components/glyph_text.rb, line 8 def pre_render content_tag :span, content, html_options end
Private Instance Methods
component_html_classes()
click to toggle source
Calls superclass method
UiBibz::Ui::Core::Component#component_html_classes
# File lib/ui_bibz/ui/core/icons/components/glyph_text.rb, line 19 def component_html_classes super << %w[fa-layers-text fa-inverse] end
component_html_data()
click to toggle source
Calls superclass method
UiBibz::Ui::Core::Component#component_html_data
# File lib/ui_bibz/ui/core/icons/components/glyph_text.rb, line 14 def component_html_data super transform end
transform()
click to toggle source
# File lib/ui_bibz/ui/core/icons/components/glyph_text.rb, line 23 def transform add_html_data 'fa_transform', value: options[:transform] if options[:transform] end