Class: 'AnimationFrame'

'AnimationFrame'

new 'AnimationFrame'()

Animation Frame This is a polyfill for the requestAnimationFrame and cancelAnimationFrame methods.
Source:
See:

Methods

<static> cancel(Requested)

Cancels an animation frame.
Parameters:
Name Type Description
Requested number animation frame id.
Source:

<static> request(callback) → {number}

Requests an animation frame.
Parameters:
Name Type Description
callback function
Source:
Returns:
Requested animation frame id.
Type
number