Sha256: fcd1e678cd001376f33a3f95d709040fd2ef490da1c41227e9d070ee6a4936b6

Contents?: true

Size: 446 Bytes

Versions: 29

Compression:

Stored size: 446 Bytes

Contents

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

29 entries across 29 versions & 1 rubygems

Version Path
ui_bibz-2.4.0 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.15 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.14 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.13 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.12 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.11 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.10 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.9 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.8 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.7 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.6 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.5 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.4 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.3 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.2 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.1 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.3.0 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.2.2 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.2.1 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
ui_bibz-2.2.0 lib/ui_bibz/ui/core/icons/components/glyph_counter.rb