Firefox Tomorrow

web api instance property

Animation: effect property

View on MDN ↗

The Animation.effect property of the Web Animations API gets and sets the target effect of an animation. The target effect may be either an effect object of a type based on AnimationEffect, such as KeyframeEffect, or null.

Value

An AnimationEffect object describing the target animation effect for the animation, or null to indicate no active effect.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also