goog.async.AnimationDelay<THIS>
Provided By | |
---|---|
Extends | |
All Implemented Interfaces |
A delayed callback that pegs to the next animation frame instead of a user configurable timeout. By design, this should have the same interface as goog.async.Delay.
Uses requestAnimationFrame and friends when available, but falls back to a timeout of goog.async.AnimationDelay.TIMEOUT.
For more on requestAnimationFrame and how you can use it to create smoother animations, see:
new AnimationDelay<THIS>( listener, opt_window, opt_handler )
Parameters |
| ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See Also | http://paulirish.com/2011/requestanimationframe-for-smart-animating/ |