Styles
Flush mit Trennlinien, Outlined als einzelne Kästen, Filled auf grauer Fläche.
Layout
Group of collapsible sections (tc_accordion_item). Flush uses divider lines, outlined separate bordered boxes, filled grey surfaces. multiple=False keeps only one section open. The whole header row toggles; content stays in the DOM for search and SEO.
Flush mit Trennlinien, Outlined als einzelne Kästen, Filled auf grauer Fläche.
multiple=False schließt beim Öffnen die anderen (native details name).
<tc-accordion exclusive> mit <tc-accordion-item>; show()/hide() und tc-show/tc-hide.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
style | 'flush' | Visual style of the items. | |
multiple | True | – | Allow several open sections; False opens one at a time. |
Zusätzliche Attribute (z. B. class, aria-*, data-*) und HTMX-Kurzformen (get, post, get_url, post_url, target, swap, trigger, confirm) werden an das Element „root“ durchgereicht.