ICT30016-Assignment-3/node_modules/motion-dom/dist/es/frameloop/frame.mjs
dlawler489 a79a6afd34 intial
intial
2025-09-16 12:09:52 +10:00

6 lines
353 B
JavaScript

import { noop } from 'motion-utils';
import { createRenderBatcher } from './batcher.mjs';
const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps, } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
export { cancelFrame, frame, frameData, frameSteps };