ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
5 lines (4 loc) • 403 B
JavaScript
const requestAnimationFrame = typeof globalThis.requestAnimationFrame === "function" ? globalThis.requestAnimationFrame : globalThis.setTimeout;
const cancelAnimationFrame = typeof globalThis.requestAnimationFrame === "function" ? globalThis.cancelAnimationFrame : globalThis.clearTimeout;
export { cancelAnimationFrame, requestAnimationFrame };
//# sourceMappingURL=ng-zorro-antd-core-polyfill.mjs.map