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_link, #coco_menu_button, #coco_notice, #coco_seamless_textarea, #coco_snackbar, #coco_system_banner, #coco_toast, #coco_toolbar

Instance Method Details

#with_buttonObject



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

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

#with_color_picker_buttonObject



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

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

#with_dividerObject



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

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

#with_dropdown_buttonObject



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

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

#with_image_picker_buttonObject



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

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

#with_menu_buttonObject



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

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