nx.js
Functions

cancelAnimationFrame

cancelAnimationFrame(id): void

Cancels an animation frame request previously scheduled through a call to requestAnimationFrame().

Parameters

ParameterTypeDescription
idnumberThe ID value returned by the call to requestAnimationFrame() that requested the callback.

Returns

void

See

https://developer.mozilla.org/docs/Web/API/window/cancelAnimationFrame

On this page