kv-cv/node_modules/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs
2026-04-19 11:08:18 +07:00

15 lines
417 B
JavaScript

import { NativeAnimation } from './NativeAnimation.mjs';
class NativeAnimationWrapper extends NativeAnimation {
constructor(animation) {
super();
this.animation = animation;
animation.onfinish = () => {
this.finishedTime = this.time;
this.notifyFinished();
};
}
}
export { NativeAnimationWrapper };
//# sourceMappingURL=NativeAnimationWrapper.mjs.map