Sha256: 7856f98833a00f45a14fc17639272e01db8d03ab776c14f0541bbb7bd1063ac1
Contents?: true
Size: 612 Bytes
Versions: 29
Compression:
Stored size: 612 Bytes
Contents
module UiBibz::Ui::Core::Icons::Components class GlyphText < UiBibz::Ui::Core::Component # See UiBibz::Ui::Core::Component.initialize def initialize content, options = nil, html_options = nil, &block super end # Render html tag def pre_render content_tag :span, content, html_options end private def component_html_data super transform end def component_html_classes super << ["fa-layers-text", "fa-inverse"] end def transform add_html_data "fa_transform", options[:transform] if options[:transform] end end end
Version data entries
29 entries across 29 versions & 1 rubygems