Skip to content

MazAnimatedElement ​

MazAnimatedElement is a standalone component that animates its content with a sliding blur effect when it enters the viewport. It supports different animation directions (up, down, left, right) and allows customizing the animation delay and duration.

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

Basic usage ​

avatar image

Props ​

NameDescriptionTypeRequiredDefaultPossible values
directionThe direction of the animation"up" | "down" | "left" | "right"Noupup", "down", "left", "right
delayThe delay of the animationnumberNo0-
durationThe duration of the animationnumberNo2000-
oncePlay the animation only oncebooleanNotrue-

Slots ​

NameDescriptionBindings
default