Sha256: 8d98066e481b4b98c27a26879da7faca785675186449810226e9ba0258124777
Contents?: true
Size: 802 Bytes
Versions: 55
Compression:
Stored size: 802 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 private def component_html_classes super << ['panel-toolbar'] end end end
Version data entries
55 entries across 55 versions & 1 rubygems