AnimationModel
23 Sep 20251 minute to read
Interface for a class Animation
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
name Effect
Specify the type of animation
timingFunction string
Specify the animation timing function