14 lines
523 B
Plaintext
14 lines
523 B
Plaintext
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 };
|
|
//# sourceMappingURL=animate-style.mjs.map
|