UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

52 lines (51 loc) 2.13 kB
import { default as _VirtualList } from './src/index.vue'; export declare const VirtualList: import('../withInstall').SFCWithInstall<{ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/types').Props> & Readonly<{}>, { scrollToTop: () => void; scrollToBottom: () => void; scrollToIndex: (index: number) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, { height: number; list: any[]; itemSize: number; overscan: number; }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, { virtualListEl: HTMLDivElement; }, HTMLDivElement, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import('./src/types').Props> & Readonly<{}>, { scrollToTop: () => void; scrollToBottom: () => void; scrollToIndex: (index: number) => void; }, {}, {}, {}, { height: number; list: any[]; itemSize: number; overscan: number; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import('vue').ComponentOptionsBase<Readonly<import('./src/types').Props> & Readonly<{}>, { scrollToTop: () => void; scrollToBottom: () => void; scrollToIndex: (index: number) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, { height: number; list: any[]; itemSize: number; overscan: number; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => { $slots: { default?(_: { item: any; index: number; }): any; }; })> & Record<string, any>; export type VirtualListInstance = InstanceType<typeof _VirtualList>;