Skip to main content

Animation

Animation: integrating animations into web applications shadow

Element Animation offers animation integration into web applications, making it easy to create engaging user interfaces. It provides customisation options in the form of delay, duration or, for example, the number of animation repeats.

Basic usage

Attributes and Properties

delay

DescriptionProperty specifying the delay before the animation starts in milliseconds.
Attributedelay
Typenumber
Default0

direction

DescriptionAnimation direction property
Attributedirection
Type"normal" | "reverse" | "alternate" | "alternate-reverse"
Defaultnormal

duration

DescriptionA property indicating the duration of the animation in milliseconds.
Attributeduration
Typenumber
Default1000

easing

DescriptionProperty specifying the release function for the animation.
Attributetoggle-icon
Type"ease." | "ease-in" | "ease-out" | "ease-in-out" | "linear" | "step-start" | "step-end"
Defaultlinear

endDelay

DescriptionA property specifying the delay after the animation has finished, in milliseconds.
AttributeendDelay
Typenumber
Default'0'

fill

DescriptionProperty defining the animation fill mode (before and after animation).
Attributefill
Type"car" | "none" | "forwards" | "backwards" | "both"
Defaultcar

name

DescriptionA property defining the name of the animation to be used. For a list of all available animations, see animate.css.
Attributename
Type"car" | "none" | "forwards" | "backwards" | "both"
Defaultcar

Events

No events available for this component.

Methods

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Properties

No CSS custom properties available for this component.

Slots

No slots available for this component.