getAnimations method

JSArray<Animation> getAnimations([
  1. GetAnimationsOptions options
])

The getAnimations() method of the Element interface (specified on the Animatable mixin) returns an array of all Animation objects affecting this element or which are scheduled to do so in future. It can optionally return Animation objects for descendant elements too.

Note: This array includes CSS Animations, CSS Transitions, and Web Animations.

Implementation

external JSArray<Animation> getAnimations([GetAnimationsOptions options]);