goog.fx.anim
Functions
registerAnimation( animation ) → void
void
Registers an animation to be cycled on the global timer.
Parameters |
|
---|
setAnimationWindow( animationWindow ) → void
void
Registers an animation window. This allows usage of the timing control API for animations. Note that this window must be visible, as non-visible windows can potentially stop animating. This window does not necessarily need to be the window inside which animation occurs, but must remain visible. See: https://developer.mozilla.org/en/DOM/window.mozRequestAnimationFrame.
Parameters |
|
---|
tearDown() → void
void
Tears down this module. Useful for testing.
unregisterAnimation( animation ) → void
void
Removes an animation from the list of animations which are cycled on the global timer.
Parameters |
|
---|
Properties
TIMEOUT → number
number
Default wait timeout for animations (in milliseconds). Only used for timed animation, which uses a timer (setTimeout) to schedule animation.