- /**
- * Thanks for following contributor of codes
- * https://gist.github.com/1866474
- * http://paulirish.com/2011/requestanimationframe-for-smart-animating/
- * http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
- * https://github.com/Financial-Times/polyfill-library/blob/master/polyfills/requestAnimationFrame/polyfill.js
- **/
- export declare const root: any;
- export declare const pnow: () => number;
- type TRequestAnimationFrame = (callback: (...args: any[]) => any) => number;
- type TCancelAnimationFrame = (id: number) => void;
- export declare const raf: TRequestAnimationFrame;
- export declare const caf: TCancelAnimationFrame;
- export {};
- //# sourceMappingURL=raf.d.ts.map
|