Class: UiComponents::DaisyUi::DataDisplay::AccordionComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- UiComponents::DaisyUi::DataDisplay::AccordionComponent
- Defined in:
- app/components/ui_components/daisy_ui/data_display/accordion_component.rb
Constant Summary collapse
- CSS_CLASSES =
Accordion::ItemComponent::CSS_CLASSES
Constants inherited from BaseComponent
BaseComponent::ALIGNS, BaseComponent::AXES, BaseComponent::COLORS, BaseComponent::CSS_CLASSES_DEFAULT, BaseComponent::CSS_CLASSES_VARIANTS, BaseComponent::KINDS, BaseComponent::SIZES
Instance Method Summary collapse
-
#initialize(opener: "my_accordion", toggle: false, **args) ⇒ AccordionComponent
constructor
A new instance of AccordionComponent.
Constructor Details
#initialize(opener: "my_accordion", toggle: false, **args) ⇒ AccordionComponent
19 20 21 22 23 24 25 26 27 28 |
# File 'app/components/ui_components/daisy_ui/data_display/accordion_component.rb', line 19 def initialize( opener: "my_accordion", toggle: false, **args ) @opener = opener @toggle = toggle super(**args) end |