tdesign-vue
Version:
38 lines (37 loc) • 1.25 kB
TypeScript
import { TdListProps } from './type';
import { PropType } from 'vue';
declare const _default: {
asyncLoading: {
type: PropType<string | ((h: import("vue").CreateElement) => import("vue/types/vnode").ScopedSlotReturnValue)>;
};
footer: {
type: PropType<string | ((h: import("vue").CreateElement) => import("vue/types/vnode").ScopedSlotReturnValue)>;
};
header: {
type: PropType<string | ((h: import("vue").CreateElement) => import("vue/types/vnode").ScopedSlotReturnValue)>;
};
layout: {
type: PropType<"vertical" | "horizontal">;
default: "vertical" | "horizontal";
validator(val: TdListProps['layout']): boolean;
};
scroll: {
type: PropType<import("..").TScroll>;
};
size: {
type: PropType<"small" | "medium" | "large">;
default: "small" | "medium" | "large";
validator(val: TdListProps['size']): boolean;
};
split: BooleanConstructor;
stripe: BooleanConstructor;
onLoadMore: PropType<(options: {
e: MouseEvent;
}) => void>;
onScroll: PropType<(options: {
e: Event | WheelEvent;
scrollTop: number;
scrollBottom: number;
}) => void>;
};
export default _default;