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