Animation

Holds the infrastructure for coordinating timers for multiple animations.

Classes

Animation.Queue

Allows for running multiple animations using a shared timer, since the overhead of running multiple timers is pretty high.

Class Methods

Animation.getQueue

Animation.getQueue(el) -> Animation.Queue

  • el (DOMElement | Document) – A DOM element or document for which you want the animation queue.

Given a DOM element, returns a reference to the appropriate animation queue to use. Creates a new queue if one does not already exist.