Module: Coco::Concerns::ActsAsButtonGroup

Extended by:
ActiveSupport::Concern
Includes:
AppHelper
Included in:
App::Elements::ButtonGroup, App::Elements::Menu
Defined in:
app/components/coco/concerns/acts_as_button_group.rb

Instance Method Summary collapse

Methods included from AppHelper

#coco_button, #coco_button_group, #coco_color_picker_button, #coco_confirm_button, #coco_dropdown_button, #coco_fields, #coco_form_button, #coco_form_for, #coco_form_with, #coco_image_picker_button, #coco_layout_picker_button, #coco_link, #coco_menu_button, #coco_notice, #coco_seamless_textarea, #coco_snackbar, #coco_system_banner, #coco_toast, #coco_toolbar

Instance Method Details

#with_buttonObject



29
30
31
# File 'app/components/coco/concerns/acts_as_button_group.rb', line 29

def with_button(...)
  with_item_button(...)
end

#with_color_picker_buttonObject



37
38
39
# File 'app/components/coco/concerns/acts_as_button_group.rb', line 37

def with_color_picker_button(...)
  with_item_color_picker_button(...)
end

#with_dividerObject



25
26
27
# File 'app/components/coco/concerns/acts_as_button_group.rb', line 25

def with_divider(...)
  with_item_divider(...)
end

#with_dropdown_buttonObject



49
50
51
# File 'app/components/coco/concerns/acts_as_button_group.rb', line 49

def with_dropdown_button(...)
  with_item_dropdown_button(...)
end

#with_image_picker_buttonObject



41
42
43
# File 'app/components/coco/concerns/acts_as_button_group.rb', line 41

def with_image_picker_button(...)
  with_item_image_picker_button(...)
end

#with_layout_picker_buttonObject



45
46
47
# File 'app/components/coco/concerns/acts_as_button_group.rb', line 45

def with_layout_picker_button(...)
  with_item_layout_picker_button(...)
end

#with_menu_buttonObject



33
34
35
# File 'app/components/coco/concerns/acts_as_button_group.rb', line 33

def with_menu_button(...)
  with_item_menu_button(...)
end