Functions
cancelAnimationFrame
cancelAnimationFrame(id
): void
Cancels an animation frame request previously scheduled through
a call to requestAnimationFrame()
.
Parameters
Parameter | Type | Description |
---|---|---|
id | number | The ID value returned by the call to requestAnimationFrame() that requested the callback. |
Returns
void
See
https://developer.mozilla.org/docs/Web/API/window/cancelAnimationFrame