Class: UiBibz::Ui::Core::Row
Overview
Create a row
This element is an extend of UiBibz::Ui::Core::Component.
Attributes
-
content - Content of element
-
options - Options of element
-
html_options - Html Options of element
Signatures
UiBibz::Ui::Core::Row.new(content, = {}, = {})
UiBibz::Ui::Core::Row.new( = {}, = {}) do
#content
end
Helper
row(content, = {}, = {})
row( = {}, = {}) do
content
end
Instance Attribute Summary
Attributes inherited from Component
#content, #html_options, #options
Attributes inherited from Base
Instance Method Summary (collapse)
-
- (Row) initialize(content = nil, options = nil, html_options = nil, &block)
constructor
See UiBibz::Ui::Core::Component.initialize.
-
- (Object) render
Render html tag.
Methods inherited from Component
#add_classes, #badge_html, #class_and_html_options, #glyph, #glyph_and_content_html, #glyph_with_space, #state
Methods inherited from Base
Constructor Details
- (Row) initialize(content = nil, options = nil, html_options = nil, &block)
See UiBibz::Ui::Core::Component.initialize
32 33 34 |
# File 'lib/ui_bibz/ui/core/row.rb', line 32 def initialize content = nil, = nil, = nil, &block super end |
Instance Method Details
- (Object) render
Render html tag
37 38 39 |
# File 'lib/ui_bibz/ui/core/row.rb', line 37 def render content_tag :div, @content, ('row') end |