Skip to content

MazExpandAnimation

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

INFO

Before you have to import the global css files 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 & Slots

Props

Prop nameDescriptionTypeValuesDefault
durationDuration of the animation in milliseconds
@default '300ms'
string-'300ms'
timingFunctionTiming function of the animation
@default 'ease-in-out'
string-'ease-in-out'

Slots

NameDescriptionBindings
defaultDefault Slot - Display content