Files
SnowLuma/.pnpm-store/v11/files/51/6152dbb7f0e2595fb4fcbac3e5ec505ae9a8d8ab2f8fc479b06bf8207f682228463f9c86bc9684de6109a5d478906c60cc82c37bb7990f9e913779e404b4b4
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

15 lines
578 B
Plaintext

import { GroupAnimationWithThen } from 'motion-dom';
import { createAnimationsFromSequence } from '../../sequence/create.mjs';
import { animateElements } from './animate-elements.mjs';
function animateSequence(definition, options) {
const animations = [];
createAnimationsFromSequence(definition, options).forEach(({ keyframes, transition }, element) => {
animations.push(...animateElements(element, keyframes, transition));
});
return new GroupAnimationWithThen(animations);
}
export { animateSequence };
//# sourceMappingURL=animate-sequence.mjs.map