Sha256: 027d3fc4979a7319242c4259b5bfb7131094f746fe82543598006cf95c883dc9
Contents?: true
Size: 1.01 KB
Versions: 6
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true module UiBibz::Ui::Ux::Containers::Components # Create a card body # # ==== Attributes # # * +content+ - Content of element # * +options+ - Options of element # * +html_options+ - Html Options of element # # ==== Options # # You can add HTML attributes using the +html_options+. # You can pass arguments in options attribute: # # ==== Signatures # # UiBibz::Ui::Core::Boxes::PanelBody.new(content, options = nil, html_options = nil) # # UiBibz::Ui::Core::Boxes::PanelBody.new(options = nil, html_options = nil) do # content # end # # ==== Examples # # UiBibz::Ui::Core::Boxes::PanelBody.new.render # # UiBibz::Ui::Core::Boxes::PanelBody.new do # 'Exemple' # end.render # class PanelTabGroup < UiBibz::Ui::Core::Navigations::TabGroup def initialize(content = nil, options = nil, html_options = nil, &block) super end private def component_html_classes super << 'panel-header-tabs' end end end
Version data entries
6 entries across 6 versions & 1 rubygems