module UiBibz::Helpers::Ui::Core::IconsHelper
Public Instance Methods
ui_glyph(content, options = nil, html_options = nil, &block)
click to toggle source
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 }¶ ↑
# File lib/ui_bibz/helpers/ui/core/icons_helper.rb, line 14 def ui_glyph(content, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Icons::Glyph.new(content, options, html_options, &block).render end
ui_glyph_group(content = nil, options = nil, html_options = nil, &block)
click to toggle source
Glyph Group Component
+ content+ (String || Hash) [Required] options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/icons_helper.rb, line 24 def ui_glyph_group(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Icons::GlyphGroup.new(content, options, html_options).tap(&block).render end
ui_glyph_or_glyph_group(glyph_options, options = {})
click to toggle source
Glyph Changer
options
(Hash)
# File lib/ui_bibz/helpers/ui/core/icons_helper.rb, line 32 def ui_glyph_or_glyph_group(glyph_options, options = {}) UiBibz::Utils::GlyphChanger.new(glyph_options, options).render end
ui_star(content = nil, options = nil, html_options = nil, &block)
click to toggle source
Stars Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/icons_helper.rb, line 40 def ui_star(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Icons::Star.new(content, options, html_options, &block).render end