UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

13 lines (10 loc) 480 B
import { GroupAnimationWithThen } from 'motion-dom'; import { animateElements } from './animate-elements.mjs'; const createScopedWaapiAnimate = (scope) => { function scopedAnimate(elementOrSelector, keyframes, options) { return new GroupAnimationWithThen(animateElements(elementOrSelector, keyframes, options, scope)); } return scopedAnimate; }; const animateMini = /*@__PURE__*/ createScopedWaapiAnimate(); export { animateMini, createScopedWaapiAnimate };