@indielayer/ui
Version:
Indielayer UI Components with Tailwind CSS build for Vue 3
14 lines (13 loc) • 451 B
TypeScript
import type { CachedBounds } from './types';
export declare function getStartStopIndices({ cachedBounds, containerScrollOffset, containerSize, itemCount, overscanCount, }: {
cachedBounds: CachedBounds;
containerScrollOffset: number;
containerSize: number;
itemCount: number;
overscanCount: number;
}): {
startIndexVisible: number;
stopIndexVisible: number;
startIndexOverscan: number;
stopIndexOverscan: number;
};