tdesign-mobile-vue
Version:
tdesign-mobile-vue
46 lines (45 loc) • 1.32 kB
TypeScript
import { PropType } from 'vue';
declare const _default: {
attach: {
type: PropType<import("@/common").AttachNode>;
};
closeOnOverlayClick: {
type: BooleanConstructor;
default: boolean;
};
destroyOnClose: BooleanConstructor;
footer: {
type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
items: {
type: PropType<import("@/components").DrawerItem[]>;
};
overlayProps: {
type: PropType<import("@/overlay/type").TdOverlayProps>;
default: () => {};
};
placement: {
type: PropType<"left" | "right">;
default: "left" | "right";
validator(val: "left" | "right"): boolean;
};
showOverlay: {
type: BooleanConstructor;
default: boolean;
};
title: {
type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
visible: BooleanConstructor;
zIndex: {
type: NumberConstructor;
};
onClose: PropType<(trigger: "overlay") => void>;
onItemClick: PropType<(index: number, item: import("@/components").DrawerItem, context: {
e: MouseEvent;
}) => void>;
onOverlayClick: PropType<(context: {
e: MouseEvent;
}) => void>;
};
export default _default;