securityos/node_modules/framer-motion/dist/es/frameloop/frame.mjs

7 lines
325 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import { noop } from '../utils/noop.mjs';
import { createRenderBatcher } from './batcher.mjs';
const { schedule: frame, cancel: cancelFrame, state: frameData, steps, } = createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
export { cancelFrame, frame, frameData, steps };