Module: UiBibz::Helpers::Ui::Core::LayoutsHelper
- Included in:
- UiBibz::Helpers::Ui::CoreHelper
- Defined in:
- lib/ui_bibz/helpers/ui/core/layouts_helper.rb
Instance Method Summary collapse
-
#ui_col(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Col Component.
-
#ui_container(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Container Component.
-
#ui_row(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Row Component.
Instance Method Details
#ui_col(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Col Component
options (Hash) html_options (Hash)
20 21 22 23 24 25 26 |
# File 'lib/ui_bibz/helpers/ui/core/layouts_helper.rb', line 20 def ui_col(content = nil, = nil, = nil, &block) if tapped?(block) UiBibz::Ui::Core::Layouts::Col.new(content, , ).tap(&block).render else UiBibz::Ui::Core::Layouts::Col.new(content, , , &block).render end end |
#ui_container(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Container Component
options (Hash) html_options (Hash)
32 33 34 |
# File 'lib/ui_bibz/helpers/ui/core/layouts_helper.rb', line 32 def ui_container(content = nil, = nil, = nil, &block) UiBibz::Ui::Core::Layouts::Container.new(content, , , &block).render end |
#ui_row(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Row Component
options (Hash) html_options (Hash)
8 9 10 11 12 13 14 |
# File 'lib/ui_bibz/helpers/ui/core/layouts_helper.rb', line 8 def ui_row(content = nil, = nil, = nil, &block) if tapped?(block) UiBibz::Ui::Core::Layouts::Row.new(content, , ).tap(&block).render else UiBibz::Ui::Core::Layouts::Row.new(content, , , &block).render end end |