This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/style/node_modules/embla-carousel/esm/components/ScrollTo.d.ts
2025-01-11 09:54:09 +03:00

12 lines
681 B
TypeScript

import { AnimationsType } from './Animations.js';
import { CounterType } from './Counter.js';
import { EventHandlerType } from './EventHandler.js';
import { ScrollBodyType } from './ScrollBody.js';
import { ScrollTargetType } from './ScrollTarget.js';
import { Vector1DType } from './Vector1d.js';
export type ScrollToType = {
distance: (n: number, snap: boolean) => void;
index: (n: number, direction: number) => void;
};
export declare function ScrollTo(animation: AnimationsType, indexCurrent: CounterType, indexPrevious: CounterType, scrollBody: ScrollBodyType, scrollTarget: ScrollTargetType, targetVector: Vector1DType, eventHandler: EventHandlerType): ScrollToType;