Expand API
API reference docs for the Stash Expand
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import Expand from '@leaflink/stash/Expand.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
is | ExpandOuterElement | div | The root element to use as the root element the expand transition gets applied to |
isExpanded | boolean | false | Dictates whether the content is expanded or collapsed |
isLazy | boolean | false | Whether to only render content on expand |
transitionName | string | 'expand' | The name of the transition to pass to the transition component |
Slots
Name | Description |
---|---|
default |
Events
Name | Description |
---|---|
after-expand |