Sha256: 4c8b6b9ceef0ab312329c42914e9899de5eccf973af579ccf628e23e7510dfb7
Contents?: true
Size: 899 Bytes
Versions: 6
Compression:
Stored size: 899 Bytes
Contents
# frozen_string_literal: true module UiBibz::Ui::Ux::Containers::Components # Create a panel toolbar # # ==== 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::PanelToolbar.new(options = nil, html_options = nil) do |pt| # pt.button_group do |bg| # bg.button 'My buttton' # end # end # class PanelToolbar < UiBibz::Ui::Core::Navigations::Toolbar # See UiBibz::Ui::Core::Component.initialize def initialize(content = nil, options = nil, html_options = nil, &block) super end private def component_html_classes super << ['panel-toolbar'] end end end
Version data entries
6 entries across 6 versions & 1 rubygems