For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Interface AnimationEffect
interface AnimationEffect {
getComputedTiming(): ComputedEffectTiming;
getTiming(): EffectTiming;
updateTiming(timing?: OptionalEffectTiming): void;
}
getComputedTiming(): ComputedEffectTiming;
getTiming(): EffectTiming;
updateTiming(timing?: OptionalEffectTiming): void;
}
Methods
getComputedTiming
-
The
getComputedTiming()method of the AnimationEffect interface returns the calculated timing properties for this animation effect.Returns ComputedEffectTiming
getTiming
-
The
AnimationEffect.getTiming()method of the AnimationEffect interface returns an object containing the timing properties for the Animation Effect.Returns EffectTiming
updateTiming
-
The
updateTiming()method of the AnimationEffect interface updates the specified timing properties for an animation effect.Parameters
Optionaltiming: OptionalEffectTiming
Returns void
The
AnimationEffectinterface of the Web Animations API is an interface representing animation effects.MDN Reference