NeahFront5/node_modules/embla-carousel/esm/components/SlidesInView.d.ts
2025-04-10 11:30:00 +02:00

9 lines
426 B
TypeScript

import { EventHandlerType } from './EventHandler.js';
export type SlidesInViewOptionsType = IntersectionObserverInit['threshold'];
export type SlidesInViewType = {
init: () => void;
destroy: () => void;
get: (inView?: boolean) => number[];
};
export declare function SlidesInView(container: HTMLElement, slides: HTMLElement[], eventHandler: EventHandlerType, threshold: SlidesInViewOptionsType): SlidesInViewType;