getAnimations DOM code example
Example 1: document.getAnimation
document.getAnimations().forEach(
function (animation) {
animation.playbackRate *= .5;
}
);
Example 2: document.getAnimation
var allAnimations = Document.getAnimations();
document.getAnimations().forEach(
function (animation) {
animation.playbackRate *= .5;
}
);
var allAnimations = Document.getAnimations();