AnimationEffect
The AnimationEffect interface of the Web Animations API is an interface representing animation effects.
Methods
getComputedTiming()
getComputedTiming(): ComputedEffectTiming;
The getComputedTiming() method of the AnimationEffect interface returns the calculated timing properties for this animation effect.
Returns
getTiming()
getTiming(): EffectTiming;
The AnimationEffect.getTiming() method of the AnimationEffect interface returns an object containing the timing properties for the Animation Effect.
Returns
updateTiming()
updateTiming(timing?): void;
The updateTiming() method of the AnimationEffect interface updates the specified timing properties for an animation effect.
Parameters
| Parameter | Type |
|---|---|
timing? | OptionalEffectTiming |
Returns
void