Sha256: c788b84bd2bdd922600da3fada7754abe6e14715a8d4e67c9b06c4142c7d8d8e
Contents?: true
Size: 991 Bytes
Versions: 16
Compression:
Stored size: 991 Bytes
Contents
module UiBibz::Ui::Core::Layouts # 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::Layouts::Row.new(content, options = {}, html_options = {}) # # UiBibz::Ui::Core::Layouts::Row.new(options = {}, html_options = {}) do # #content # end # # ==== Helper # # row(content, options = {}, html_options = {}) # # row(options = {}, html_options = {}) do # content # end # class Row < UiBibz::Ui::Core::Component # See UiBibz::Ui::Core::Component.initialize def initialize content = nil, options = nil, html_options = nil, &block super end # Render html tag def render content_tag :div, content, html_options end private def component_html_classes 'row' end end end
Version data entries
16 entries across 16 versions & 1 rubygems