Menu
©2015
Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2015-1-16 18:32

Namespace puredom.animationFrame

  • Shim for HTML5's animationFrame feature.

  • Defined in: puredom.js
Namespace Summary
Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
<static>  
puredom.animationFrame. cancelTimer (identifier)
Unregister a deferred animation function.
<static>  
puredom.animationFrame. getStartTime (identifier)
Get the start time (timestamp, in milliseconds) of the current animation.
<static>  
puredom.animationFrame. getTimer (f)
Defer execution of an animation function so it occurs during the next rendering cycle.

Namespace Detail

puredom.animationFrame

Method Detail

  • <static> puredom.animationFrame.cancelTimer(identifier)
    Unregister a deferred animation function.
    Parameters:
    {String} identifier
    A timer identifier, such as one obtained from puredom.animationFrame.getTimer.
  • <static> puredom.animationFrame.getStartTime(identifier)
    Get the start time (timestamp, in milliseconds) of the current animation.
    Parameters:
    {String} identifier
    A timer identifier, such as one obtained from puredom.animationFrame.getTimer.
  • <static> puredom.animationFrame.getTimer(f)
    Defer execution of an animation function so it occurs during the next rendering cycle.
    Parameters:
    {Function} f
    A function to call during the next animation frame.