DataDisplay.collapsible
Server-rendered
Generic collapsible section with trigger/content slots.
Uses <details> for accessibility and no-JS behavior.
Collapsible details
Release notes
Added generated attr tables and improved examples.
<.collapsible open={true}>
<:trigger>
Release notes
</:trigger>
Added generated attr tables and improved examples.
</.collapsible>
Attributes
| Name | Type | Default | Values | Global Includes |
|---|---|---|---|---|
class
|
:string |
— | — | — |
open
|
:boolean |
false
|
— | — |
rest
|
:global |
— | — | — |
Slots
| Slot | Slot Attributes |
|---|---|
inner_block
Required
|
— |
trigger
Required
|
— |