Skip to content

MazExpandAnimation ​

MazExpandAnimation is a standalone component that allows you to animate the height of a block element

Before use it, you should install the MazUi plugin in your project, follow instructions in Getting Started

Basic usage ​


Options ​

  • duration: String - default: 300ms - Duration of the animation in ms
  • timing-function: String - default: ease-in-out - Timing function of the animation

Props ​

NameDescriptionTypeRequiredDefaultPossible values
durationDuration of the animation in millisecondsstringNo"300ms"-
timing-functionTiming function of the animationstringNo"ease-in-out"-
model-valuev-modelbooleanNo--

Events ​

Event namePayloadDescription
update:modelValuevalue: boolean | undefined

Slots ​

NameDescriptionBindings
defaultDefault Slot - Display content-