Module: Coco::Concerns::AcceptsOptions
- Extended by:
- ActiveSupport::Concern
- Included in:
- Alert, Avatar, Badge, Button, ButtonGroup, ButtonTo, Coco::ColorPicker, ActsAsLink, ActsAsNotification, WithDropdownOptions, WithIcon, WithTooltip, Icon, Image, ImagePicker, ImageUploader, LayoutPickerButton, Link, Menu, MenuButton, Modal, ModalCanvas, ModalDialog, ModalLightbox, Notice, OptionBar, Page, PagerButton, Placeholder, Popover, Prose, SeamlessTextarea, Spacer, Stack, Stamp, SystemBanner, Tabs
- 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 |