Class: Accordion::AccordionItemComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Accordion::AccordionItemComponent
- Defined in:
- app/components/accordion/accordion_item_component.rb
Instance Method Summary collapse
-
#initialize(**options) ⇒ AccordionItemComponent
constructor
A new instance of AccordionItemComponent.
Constructor Details
#initialize(**options) ⇒ AccordionItemComponent
Returns a new instance of AccordionItemComponent.
6 7 8 9 10 11 12 13 |
# File 'app/components/accordion/accordion_item_component.rb', line 6 def initialize(**) @id = [:id] @title = [:title] @index = [:index] @target = [:target] @active = [:active] @parent = [:parent] end |