<details-accordion>
Wraps two or more <details> tags and adds functionality to only show one open <details> at a time.
Attributes
allow-close-all(optional) - Allows all the<details>to be collapsed at the same time. The default functionality keeps one<details>open at all times (the first one if none are specified).
Example
Keep one pane open:
Section one
Section one contents
Section two
Section two contents
Section three
Section three contents
Allow all panes to close:
Section one
Section one contents
Section two
Section two contents
Section three
Section three contents
Code
HTML
JS