Module: GlyphExtension
- Defined in:
- lib/ui_bibz/ui/extensions/core/component/glyph_extension.rb
Instance Method Summary collapse
-
#glyph_and_content_html(content_html = nil) ⇒ Object
Render glyph and content html.
Instance Method Details
#glyph_and_content_html(content_html = nil) ⇒ Object
Render glyph and content html
5 6 7 8 9 10 11 |
# File 'lib/ui_bibz/ui/extensions/core/component/glyph_extension.rb', line 5 def glyph_and_content_html(content_html = nil) if [:glyph] UiBibz::ViewObjects::GlyphComponentViewObject.new(, content_html || content).render else content_html || content end end |