sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
24 lines (23 loc) • 662 B
TypeScript
import { type StyleValue } from 'vue';
export interface ScrollListProps {
rootStyle?: StyleValue;
rootClass?: string;
scrollbarBg?: string;
scrollbarWidth?: number;
thumbBg?: string;
thumbWidth?: number;
upperThreshold?: number;
lowerThreshold?: number;
}
export declare const defaultScrollListProps: () => {};
export interface ScrollListSlots {
default?(props: Record<string, never>): any;
}
export interface ScrollListEmits {
(e: 'scroll', event: any): void;
(e: 'scrolltoupper', event: any): void;
(e: 'scrolltolower', event: any): void;
}
export interface ScrollListExpose {
update: () => Promise<void>;
}