cancelAnimationFrame method
Cancels an animation frame request.
Other resources
- Window.cancelAnimationFrame from MDN.
Implementation
void cancelAnimationFrame(int id) {
_ensureRequestAnimationFrame();
_cancelAnimationFrame(id);
}
Cancels an animation frame request.
void cancelAnimationFrame(int id) {
_ensureRequestAnimationFrame();
_cancelAnimationFrame(id);
}