.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
AnimationEffectReadOnly, such as
var effect = Animation.effect; Animation.effect =
AnimationEffectReadOnly object describing the target animation effect for the animation, or
null to indicate no active effect.
The definition of 'Animation.effect' in that specification.
|Working Draft||Editor's draft.|
|Feature||Android webview||Chrome for Android||Edge mobile||Firefox for Android||Opera Android||iOS Safari||Samsung Internet|
|Basic support||No||No||?||481 2||No||No||No|
1. This property is supported in Firefox 48 but is read-only. It became writable in Firefox 51.
2. From version 48: this feature is behind the
dom.animations-api.core.enabled preference (needs to be set to
true). To change preferences in Firefox, visit about:config.