AnimationModel

Interface representing the Animation class.

Properties

begin EmitType<AnimationOptions>

Event is triggered when the animation starts.

delay Number

Specifies the delay in milliseconds to start the animation.

duration Number

Specifies the duration in milliseconds of the animation.

end EmitType<AnimationOptions>

Event is triggered when the animation is completed.

fail EmitType<AnimationOptions>

Event is triggered when the animation encounters a failure.

name Effect

Specifies the duration in milliseconds of the animation.

progress EmitType<AnimationOptions>

Event is triggered when the animation is in progress.

timingFunction Easing

Specifies the animation timing function.