Sha256: ff9723a7d426e94cd67d71da09b3b11ab115e33d2f63bdb5eab83fd6ac87d123
Contents?: true
Size: 1008 Bytes
Versions: 24
Compression:
Stored size: 1008 Bytes
Contents
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
24 entries across 24 versions & 1 rubygems