Blame view

天文台pc/tianwentai-ui/node_modules/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs 417 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  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