Skip to content
On this page

VAccordion

Props

NameTypeDescription
aria-currentEnum:
page
step
location
date
time
true
false
Indicates the element that represents the current item within a container or set of related elements.
expand-modeEnum:
single
multi
Controls the expand mode of the Accordion, either allowing single or multiple item expansion.

Events

NameEvent TypeDescription
clickMouseEventFires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
focusFocusEventFires when the element receives focus.
blurFocusEventFires when the element loses focus.
keydownKeyboardEventFires when a key is pressed.
keyupKeyboardEventFires when a key is released.
inputEventFires when the value of an element has been changed.
changeCustomEvent<string | null>Fires a custom 'change' event when the active item changes

Slots

NameDescription
defaultDefault slot.

Methods

NameTypeDescription
closeAll() => void