UNPKG

@vuesax-alpha/nightly

Version:
9 lines (6 loc) 288 B
import './browser.mjs'; import { isClient } from '@vueuse/core'; const rAF = (fn) => isClient ? requestAnimationFrame(fn) : setTimeout(fn, 16); const cAF = (handle) => isClient ? cancelAnimationFrame(handle) : clearTimeout(handle); export { cAF, rAF }; //# sourceMappingURL=raf.mjs.map