Public attributes and slots
| Attribute | Contract |
|---|---|
| layout | content (default) keeps the inset panel; panel is flush, flexible and independently scrolling. |
| indicator | end (default) or start before the summary. |
| notify-toggle | With a valid value, user activation emits cem-disclosure-toggle; programmatic updates remain silent. |
| value | Whitespace-free opaque key for opt-in toggle notification. |
label | Visible or accessible owner name; component defaults apply when omitted. |
heading-level | Programmatic heading level 1 through 6; absent or unsupported values use 3. |
expanded | Presence reveals the persistent panel; native activation toggles the host attribute. |
disabled | Presence disables native user controls; programmatic state remains available. |
region | Presence opts the panel into a named region landmark. |
class | Consumer host class; component-owned hooks use public parts. |
hidden | Native host visibility; until-found retains browser semantics. |
dir | Inherited native text direction: ltr or rtl. |
The summary slot supplies phrasing content only; default content remains instantiated in the panel. Boolean attributes use presence, including empty and false-valued spellings. Author changes emit no component events.
Five theme modes
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Persistent panel content.
Examples and saved projects.