animationAdded
The event fired when an animation is added to the collection. This can be used, for example, to keep a UI in sync.
model.activeAnimations.animationAdded.addEventListener(function(model, animation) {
console.log(`Animation added: ${animation.name}`);
});
Content copied to clipboard