Accordion API
API reference docs for the Stash Accordion
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import Accordion from '@leaflink/stash/Accordion.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
icon | IconName | circle-info | The filename of the icon that will be displayed on the left side of the header |
isExpanded | boolean | false | Whether the Accordion is expanded or not |
title | string | undefined | Title of the Accordion, displayed in the header |
Slots
Name | Description |
---|---|
header | Accordion header |
default | Accordion content |
Events
Name | Description |
---|---|
toggle | |
open | |
close |