Example 2

This example has no active section. When activeIndex is false, closeAble is automatically set to true.

Multiple sections open by default

activeIndex may be an array of integers. For example if you pass [2, 4], section 2 and 4 will be open by default.

Single section

When the accordion contains only one section it will be open by default and closeAble set to true

Single section, closed

To make it closed by default, set activeIndex to false

Do no close other sections

Set closeOther to false, so when a section is opened other section are not closed. This automatically set closeAble to true

Example 9( nested accordions)