Sha256: df1778039cf0a653752a5c038c4614b9f21949baa82bb0fe2f3957af4e324150

Contents?: true

Size: 706 Bytes

Versions: 9

Compression:

Stored size: 706 Bytes

Contents

module UiBibz::Helpers::Ui::Core::IconsHelper

  # Glyph Component
  #
  # + content+ (String || Hash) [Required]
  # +options+ (Hash)
  # +html_options+ (Hash)
  #
  # Glyph component with some exeption, it can be written
  # => glyph 'calendar', size: :xs
  # or
  # => glyph { name: 'calendar', size: :xs }
  def ui_glyph content, options = nil, html_options = nil, &block
    UiBibz::Ui::Core::Icons::Glyph.new(content, options, html_options, &block).render
  end

  # Stars Component
  #
  # +options+ (Hash)
  # +html_options+ (Hash)
  def ui_star content = nil, options = nil, html_options = nil, &block
    UiBibz::Ui::Core::Icons::Star.new(content, options, html_options, &block).render
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ui_bibz-2.0.8 lib/ui_bibz/helpers/ui/core/icons_helper.rb
ui_bibz-2.0.7 lib/ui_bibz/helpers/ui/core/icons_helper.rb
ui_bibz-2.0.5 lib/ui_bibz/helpers/ui/core/icons_helper.rb
ui_bibz-2.0.4 lib/ui_bibz/helpers/ui/core/icons_helper.rb
ui_bibz-2.0.3 lib/ui_bibz/helpers/ui/core/icons_helper.rb
ui_bibz-2.0.2 lib/ui_bibz/helpers/ui/core/icons_helper.rb
ui_bibz-2.0.1 lib/ui_bibz/helpers/ui/core/icons_helper.rb
ui_bibz-2.0.0 lib/ui_bibz/helpers/ui/core/icons_helper.rb
ui_bibz-2.0.0.beta2.6 lib/ui_bibz/helpers/ui/core/icons_helper.rb