AnimationOptions

23 Sep 20251 minute to read

Animation event argument for progress event handler

Properties

begin EmitType<AnimationOptions>

Triggers when the animation is started

end EmitType<AnimationOptions>

Triggers when animation is completed

fail EmitType<AnimationOptions>

Triggers when animation is failed due to any scripts

progress EmitType<AnimationOptions>

Triggers when animation is in-progress

delay number

Specify the delay to start animation

duration number

Specify the duration to animate

element HTMLElement

Get current animation element in progress EventHandler

name Effect

Specify the type of animation

timeStamp number

Get current time-stamp in progress EventHandler

timingFunction string

Specify the animation timing function