Animation.effect

La propiedad Animation.effect de la Web Animations API (en-US) obtiene y establece el efecto objetivo de una animación. El efecto objetivo puede ser un objeto efecto de un tipo basado en AnimationEffectReadOnly (en-US), como KeyframeEffect (en-US), o null.

Sintaxis

js

var effect = Animation.effect;

Animation.effect = AnimationEffectReadOnly (en-US)

Valor

Un objeto AnimationEffectReadOnly (en-US) que describe el efecto de animación objetivo para la animación, o null para indicar que el efecto no está activo.

Especificaciones

Specification
Web Animations
# dom-animation-effect

Compatibilidad con navegadores

BCD tables only load in the browser

Ver también