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
-
This is the title under which the accordion will be displayed.
-
In the 'Accordion item' title bar are the Delete (
) button, to the far right, and the drag indicator ( ), to the far left. -
This field sets the heading for the current item.
-
The content for the current accordion item.
-
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