huangye-parking/admin/node_modules/element-plus/lib/utils/raf.js
2026-02-28 17:35:49 +08:00

11 lines
314 B
JavaScript

'use strict';
var core = require('@vueuse/core');
const rAF = (fn) => core.isClient ? window.requestAnimationFrame(fn) : setTimeout(fn, 16);
const cAF = (handle) => core.isClient ? window.cancelAnimationFrame(handle) : clearTimeout(handle);
exports.cAF = cAF;
exports.rAF = rAF;
//# sourceMappingURL=raf.js.map