lynx: cancelAnimationFrame() static method

Cancel a requestAnimationFrame callback.

Syntax

cancelAnimationFrame: (requestID: number) => void;

Parameters

requestID

The return value of the requestAnimationFrame that needs to be cancelled.

Return Value

None (undefined).

Compatibility

Loading...

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.