Blame view

天文台pc/tianwentai-ui/node_modules/embla-carousel/components/Animations.d.ts 564 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
  import { EngineType } from './Engine';
  import { WindowType } from './utils';
  export type AnimationsUpdateType = (engine: EngineType) => void;
  export type AnimationsRenderType = (engine: EngineType, alpha: number) => void;
  export type AnimationsType = {
      init: () => void;
      destroy: () => void;
      start: () => void;
      stop: () => void;
      update: () => void;
      render: (alpha: number) => void;
  };
  export declare function Animations(ownerDocument: Document, ownerWindow: WindowType, update: () => void, render: (alpha: number) => void): AnimationsType;