Collapse
Used to create regions of content that can expand/collapse with a basic animation. It helps to hide content that's not immediately relevant to user.
Import
js
import { MpCollapse } from '@mekari/pixel3'
Playground
API
MpCollapse
Props
Events
Slots
Name | Type | Default |
---|---|---|
is-open | boolean | false |
duration | number | 250 |
is-animate-opacity | boolean | true |
easing | string | easeInOutSine |
starting-height | number | - |
ending-height | number | - |