Sha256: 3380f741908c573a4c9577ab3debfa5bf8242f19e764fbb8c298eea2b011b25c
Contents?: true
Size: 1.04 KB
Versions: 42
Compression:
Stored size: 1.04 KB
Contents
# frozen_string_literal: true module UiBibz::Helpers::Ui::Core::LayoutsHelper # Row Component # # +options+ (Hash) # +html_options+ (Hash) def ui_row(content = nil, options = nil, html_options = nil, &block) if tapped?(block) UiBibz::Ui::Core::Layouts::Row.new(content, options, html_options).tap(&block).render else UiBibz::Ui::Core::Layouts::Row.new(content, options, html_options, &block).render end end # Col Component # # +options+ (Hash) # +html_options+ (Hash) def ui_col(content = nil, options = nil, html_options = nil, &block) if tapped?(block) UiBibz::Ui::Core::Layouts::Col.new(content, options, html_options).tap(&block).render else UiBibz::Ui::Core::Layouts::Col.new(content, options, html_options, &block).render end end # Container Component # # +options+ (Hash) # +html_options+ (Hash) def ui_container(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Layouts::Container.new(content, options, html_options, &block).render end end
Version data entries
42 entries across 42 versions & 1 rubygems