Interface AnimationFrameProvider
interface AnimationFrameProvider {
cancelAnimationFrame(handle: number): void;
requestAnimationFrame(callback: FrameRequestCallback): number;
}
cancelAnimationFrame(handle: number): void;
requestAnimationFrame(callback: FrameRequestCallback): number;
}
Index
Methods
cancelAnimationFrame
requestAnimationFrame
- request
Animation (callback): numberFrame Parameters
- callback: FrameRequestCallback
Returns number
MDN Reference