EnExpander
Preview
Props
| Name | Description | Default | Control |
|---|---|---|---|
| title | Title text for the accordion/expander. string | unknown | |
| content | The content of the accordion/expander. string | unknown | |
| initialOpen | Whether the accordion/expander is defaulted to open on mount. boolean | true | |
| open | Controls the state of the accordion from outside the component. boolean | true |
Slots
toggle
No description
Variables
| Name | Type | Description |
|---|---|---|
isOpen | unknown | — |
toggleExpander | unknown | — |
content
No description
Variables
| Name | Type | Description |
|---|---|---|
isOpen | unknown | — |
toggleExpander | unknown | — |
Events
open
Emitted when the accordion is opened.
close
Emitted when the accordion is closed.
update:open
Model binding for the open prop. Allows use of v-model:open.
Payload
| Name | Type | Description |
|---|---|---|
value | boolean | New open state. |
Methods
No methods defined.