volleyball-dev-frontend/node_modules/embla-carousel/components/ScrollContain.d.ts
2025-06-02 16:42:16 +00:00

8 lines
397 B
TypeScript

import { LimitType } from './Limit';
export type ScrollContainOptionType = false | 'trimSnaps' | 'keepSnaps';
export type ScrollContainType = {
snapsContained: number[];
scrollContainLimit: LimitType;
};
export declare function ScrollContain(viewSize: number, contentSize: number, snapsAligned: number[], containScroll: ScrollContainOptionType, pixelTolerance: number): ScrollContainType;