UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

25 lines (24 loc) 1.09 kB
import { ExtractPropTypes, PropType } from 'vue'; import { ConfigurableProps } from '@vexip-ui/config'; import { ScrollPayload } from './symbol'; export declare const virtualListProps: { inherit: PropType<boolean>; items: PropType<Array<Record<string, any>>>; itemSize: PropType<number>; itemFixed: PropType<boolean>; idKey: PropType<string>; defaultKeyAt: PropType<string | number | symbol>; bufferSize: PropType<number>; listTag: PropType<string>; itemsTag: PropType<string>; hideBar: PropType<boolean>; lockItems: PropType<boolean>; itemsAttrs: PropType<Record<string, any>>; autoplay: PropType<boolean>; ignoreResize: PropType<boolean>; disabled: PropType<boolean>; onScroll: PropType<((payload: ScrollPayload) => void) | ((payload: ScrollPayload) => void)[]>; onResize: PropType<((entry: ResizeObserverEntry) => void) | ((entry: ResizeObserverEntry) => void)[]>; }; export type VirtualListProps = ExtractPropTypes<typeof virtualListProps>; export type VirtualListCProps = ConfigurableProps<VirtualListProps, 'items'>;