CollapsibleSection API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
CollapsibleSection9 props0 callbacks0 methods
Props9
| Name | Type | Description |
|---|---|---|
titleRequired |
| Heading displayed in the keyboard-accessible expand/collapse trigger. |
descriptionOptional |
| Supporting text displayed above the expanded content. |
defaultOpenOptional | boolean | undefined | Expand initially. Later toggles are owned by the native disclosure. |
childrenRequired |
| Section content; stays mounted when collapsed to preserve drafts. |
classNameOptional | string | undefined | Additional CSS classes on the outer disclosure. |
summaryClassNameOptional | string | undefined | Additional CSS classes on the summary trigger. |
contentClassNameOptional | string | undefined | Additional CSS classes on the content container. |
descriptionClassNameOptional | string | undefined | Additional CSS classes on the supporting description. |
renderRootOptional |
| Host policies can wrap the native details without owning its presentation. |
Events and callbacks0
No component-specific events or callbacks.
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.