Accordion
Use the accordion component to display a set of items within an accordion on your web page.
Add the component to your page
When you are editing your page using page-builder:
-
Add a component to your page by clicking the
Add component button or by adding a content block (by clicking the button) then clicking the add component button. -
Locate the accordion Squiz core component within the component browser and then click the Select button.
-
This will add the accordion component to your page.
Configure the accordion component
-
The [item-configuration] section.
Add button allows you to add additional items to your accordion. When the component loads you will have an unpopulated item that you can fill in. This is covered in the -
This allows you to choose the heading level for the item title.
-
This controls whether or not other accordion items automatically close when a different item is selected.
-
This controls whether a button for opening and closing all accordion items at once is provided.
-
The delete button will remove the event.
-
Enter the card’s title.
-
Enter the accordion item’s content.
-
Controls if the accordion item is displayed in the open state when the page loads.