UNPKG

element-plus

Version:

A Component Library for Vue 3

13 lines (8 loc) 378 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); 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