UNPKG

@damisgarcia/v-infinite-scroll

Version:

`v-infinite-scroll` is a Vue 3 directive based on the Intersection Observer API. It provides a simple and performance-focused solution for loading new items in a `v-for` list as the user scrolls. By leveraging this directive, you can efficiently manage la

9 lines (7 loc) 206 B
import { Directive } from '../node_modules/vue'; export declare const vInfiniteScroll: Directive<HTMLElement, { rootMargin: string; threshold: number; wait: number; onComplete(): void; }>;