Initial commit
This commit is contained in:
13
node_modules/embla-carousel/components/Animations.d.ts
generated
vendored
Normal file
13
node_modules/embla-carousel/components/Animations.d.ts
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
import { EngineType } from './Engine';
|
||||
import { WindowType } from './utils';
|
||||
export type AnimationsUpdateType = (engine: EngineType, timeStep: number) => void;
|
||||
export type AnimationsRenderType = (engine: EngineType, lagOffset: number) => void;
|
||||
export type AnimationsType = {
|
||||
init: () => void;
|
||||
destroy: () => void;
|
||||
start: () => void;
|
||||
stop: () => void;
|
||||
update: () => void;
|
||||
render: (lagOffset: number) => void;
|
||||
};
|
||||
export declare function Animations(ownerDocument: Document, ownerWindow: WindowType, update: (timeStep: number) => void, render: (lagOffset: number) => void): AnimationsType;
|
||||
Reference in New Issue
Block a user