Class: DsfrComponent::AccordionComponent

Inherits:
Base
  • Object
show all
Defined in:
app/components/dsfr_component/accordion_component.rb

Defined Under Namespace

Classes: SectionComponent

Constant Summary

Constants inherited from Base

Base::HEADING_LEVELS

Instance Attribute Summary

Attributes inherited from Base

#html_attributes

Instance Method Summary collapse

Constructor Details

#initialize(classes: [], html_attributes: {}) ⇒ AccordionComponent

Returns a new instance of AccordionComponent.



13
14
15
# File 'app/components/dsfr_component/accordion_component.rb', line 13

def initialize(classes: [], html_attributes: {})
  super(classes: classes, html_attributes: html_attributes)
end