You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `accordion-list` shortcode has the following parameters:
306
+
307
+
`data-multi-expand`
308
+
: Whether more than one list item can be displayed at the same time.
309
+
310
+
Default value: `false`
311
+
312
+
`data-allow-all-closed`
313
+
: Whether all list items can be closed at the same time.
314
+
315
+
Default value: `false`
316
+
317
+
The `accordion-item` shortcode has the following parameters:
318
+
319
+
`accordion-title`
320
+
: The accordion item title.
321
+
322
+
`is-active`
323
+
: Whether the list item is active by default.
324
+
325
+
Default value: `false`
326
+
327
+
### Examples
328
+
329
+
The following example creates and accordion with two list items, the second is active by default, all items can be displayed at the same time, and both can be closed at the same time.
0 commit comments