Disclosure API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
Disclosure5 props1 callbacks0 methods
Props5
| Name | Type | Description |
|---|---|---|
childrenOptional |
| Content rendered inside the component. Supply nodes from the framework adapter you are using. |
classNameOptional | string | undefined | Additional CSS classes applied to the component root. |
labelOptional | string | undefined | Label content or accessible name for the component, as rendered by this control. |
summaryRequired |
| Summary content displayed before the component details. |
openOptional | boolean | undefined | Expanded or visible state of the surface or disclosure. |
Events and callbacks1
| Name | Type | Description |
|---|---|---|
onToggleOptional |
| Handles the native details toggle event; read currentTarget.open for the expanded state. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.