Module: Coco::Concerns::AcceptsOptions
- Extended by:
- ActiveSupport::Concern
- Included in:
- App::Blocks::Slat, App::Elements::ButtonGroup, App::Elements::ColorPicker, App::Elements::ImagePicker, App::Elements::LayoutPickerButton, App::Elements::Link, App::Elements::Menu, App::Elements::MenuButton, App::Elements::Notice, App::Elements::SeamlessTextarea, App::Elements::SystemBanner, Book::Blocks::Slides::EditableSlide, Button, ActsAsLink, ActsAsNotification, WithDropdownOptions, WithIcon, WithTooltip, Icon, Image, ImageUploader, Placeholder
- Defined in:
- app/components/coco/concerns/accepts_options.rb
Instance Method Summary collapse
Instance Method Details
#accepted_options ⇒ Object
18 19 20 |
# File 'app/components/coco/concerns/accepts_options.rb', line 18 def @_accepted_options ||= self.class.option_group.clone end |
#get_option_group ⇒ Object
14 15 16 |
# File 'app/components/coco/concerns/accepts_options.rb', line 14 def get_option_group(...) .get_group(...) end |