The AnimationEffect interface of the Web Animations API is an interface representing animation effects.

MDN Reference

interface AnimationEffect {
    getComputedTiming(): ComputedEffectTiming;
    getTiming(): EffectTiming;
    updateTiming(timing?: OptionalEffectTiming): void;
}
Index

Methods

  • The getComputedTiming() method of the AnimationEffect interface returns the calculated timing properties for this animation effect.

    MDN Reference

    Returns ComputedEffectTiming

  • The AnimationEffect.getTiming() method of the AnimationEffect interface returns an object containing the timing properties for the Animation Effect.

    MDN Reference

    Returns EffectTiming

  • The updateTiming() method of the AnimationEffect interface updates the specified timing properties for an animation effect.

    MDN Reference

    Parameters

    Returns void