effect property

AnimationEffect? get effect

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.

Implementation

external AnimationEffect? get effect;
set effect (AnimationEffect? value)

Implementation

external set effect(AnimationEffect? value);