Skip to content

EnAccordionPanel

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
qaId

Id that can be set for automation selectors.

string
""
noBodyPadding

Removes padding from the content area of the panel. Use if applying your own padding.

boolean
false

Slots

heading

No description

body

No description

Events

update:open

Model binding for the open prop. Allows use of v-model:open.

Payload
NameTypeDescription
valueboolean

New open state.

open

Emitted when the accordion is opened.

close

Emitted when the accordion is closed.

Methods

No methods defined.

Examples

Slots