vue-virtual-scroller
Version:
Smooth scrolling for any amount of data
29 lines (28 loc) • 1.26 kB
TypeScript
import { KeyValue } from '../types';
declare const _default: <TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
readonly onResize?: ((id: KeyValue) => any) | undefined;
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onResize"> & {
item: TItem;
watchData?: boolean;
active: boolean;
index?: number;
sizeDependencies?: Record<string, unknown> | unknown[] | null;
emitResize?: boolean;
tag?: string;
} & Partial<{}>> & import('vue').PublicProps;
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
attrs: any;
slots: Readonly<{
default?: () => unknown;
}> & {
default?: () => unknown;
};
emit: (evt: "resize", id: KeyValue) => void;
}>) => import('vue').VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};