animationframe.js
No description.

File Location

/goog/dom/animationframe/animationframe.js

Classes

goog.dom.animationFrame.State
A type to represent state. Users may add properties as desired.

Public Protected Private

Global Functions

goog.dom.animationFrame.createTask(opt_context) function(...[?])
Returns a function that schedules the two passed-in functions to be run upon the next animation frame. Calling the function again during the same animation frame does nothing. The function under the "measure" key will run first and together with all other functions scheduled under this key and the function under "mutate" will run after that.
Arguments:
: !{ measure: (function(this:THIS, !goog.dom.animationFrame.State) | undefined), mutate: (function(this:THIS, !goog.dom.animationFrame.State) | undefined)
No description.
opt_context : THIS=
Context in which to run the function.
Returns: function(...[?]No description.
code »
goog.dom.animationFrame.createTask&taskSet.measureTask.fn()
No description.
code »
goog.dom.animationFrame.createTask&taskSet.mutateTask.fn()
No description.
code »
goog.dom.animationFrame.createTask@spec.measure()
No description.
code »
goog.dom.animationFrame.createTask@spec.mutate()
No description.
code »
goog.dom.animationFrame.requestAnimationFrame_()
Request to be called upon the next animation frame if we haven't done so already.
code »
goog.dom.animationFrame.runTasks_()
Run scheduled tasks.
code »

Directory animationframe

File Reference