Sha256: 4045775be1d9b8ff05a12f0eb20901ff1c5db56dfed838ca02c12945e72a38c1
Contents?: true
Size: 473 Bytes
Versions: 6
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true module UiBibz::Ui::Core::Icons::Components class GlyphCounter < UiBibz::Ui::Core::Icons::Components::GlyphText # See UiBibz::Ui::Core::Component.initialize def initialize(content, options = nil, html_options = nil, &block) super end private def component_html_classes ['fa-layers-counter', position] end def position "fa-layers-#{options[:position]}" if options[:position] end end end
Version data entries
6 entries across 6 versions & 1 rubygems