Skip to content

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

NameTypeDefaultDescription
isExpandOuterElementdivThe root element to use as the root element the expand transition gets applied to
isExpandedbooleanfalseDictates whether the content is expanded or collapsed
isLazybooleanfalseWhether to only render content on expand
transitionNamestring 'expand' The name of the transition to pass to the transition component

Slots

NameDescription
default

Events

NameDescription
after-expand