It's a fully responsive accordion. This accordion made with custom element and vanilla js.
Purpose: Use it to create accordion
Usage & Examples:
Examples:
<joomla-accordion toggle="true" animation="true">
<section class="accordion-item" id="accordion-panel1" name="Accordion panel 1">
<h3>Tab panel 1</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
</section>
<section icon="icon-info-circle" class="accordion-item show" id="accordion-panel2" name="Accordion panel 2">
<h3>Tab panel 2</h3>
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Duis aute
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</section>
<section class="accordion-item" id="accordion-panel3" name="Accordion panel 3">
<h3>Tab panel 3</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
</section>
</joomla-accordion>
Attributes:
Attribute
Value
Required
Description
Toggle
True/False
No
This attribute is responsible for collapsing open element