Sha256: ad442336d2ebcf2b11720e73b244e0e9bfa9d262f950bb144900efda16cea1e1
Contents?: true
Size: 946 Bytes
Versions: 14
Compression:
Stored size: 946 Bytes
Contents
module UiBibz::Ui::Core # 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, options = {}, html_options = {}) # # UiBibz::Ui::Core::Row.new(options = {}, html_options = {}) do # #content # end # # ==== Helper # # row(content, options = {}, html_options = {}) # # row(options = {}, html_options = {}) do # content # end # class Row < 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
14 entries across 14 versions & 1 rubygems