Interface AnimationFrameProvider
interface AnimationFrameProvider {
cancelAnimationFrame(handle: number): void;
requestAnimationFrame(callback: FrameRequestCallback): number;
}
cancelAnimationFrame(handle: number): void;
requestAnimationFrame(callback: FrameRequestCallback): number;
}
Hierarchy
- AnimationFrameProvider (View Summary)
Index
Methods
cancelAnimationFrame
requestAnimationFrame
- requestAnimationFrame(callback: FrameRequestCallback): number
Parameters
- callback: FrameRequestCallback
Returns number
MDN Reference