xdesign-vue-next
Version:
XDesign Component for vue-next
35 lines (34 loc) • 1.11 kB
TypeScript
import { TdListProps } from './type';
import { PropType } from 'vue';
declare const _default: {
asyncLoading: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
footer: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
header: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
layout: {
type: PropType<"horizontal" | "vertical">;
default: "horizontal" | "vertical";
validator(val: TdListProps['layout']): boolean;
};
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;