Events

The following events are exposed and can be listened to via addEventListener calls.

NameDescription
loadAnimation data is loaded.
errorAn animation source cannot be parsed, fails to load or has format errors.
readyAnimation data is loaded and player is ready.
playAnimation starts playing.
pauseAnimation is paused.
stopAnimation is stopped.
freezeAnimation is paused due to player being invisible.
loopAn animation loop is completed.
completeAnimation is complete (all loops completed).
frameA new frame is entered.