Skip to content

EnExpander ​

Preview ​

Props ​

NameDescriptionDefaultControl
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
NameTypeDescription
isOpenunknown—
toggleExpanderunknown—

content

No description

Variables
NameTypeDescription
isOpenunknown—
toggleExpanderunknown—

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
NameTypeDescription
valueboolean

New open state.

Methods ​

No methods defined.

Examples ​

Using Slots ​