ant-design-vue
Version:
An enterprise-class UI design language and Vue-based implementation
143 lines (142 loc) • 5.63 kB
TypeScript
import { VNode } from 'vue';
declare const DropdownProps: {
trigger: {
type: import("vue").PropType<("click" | "contextmenu" | "hover")[]>;
default: () => string[];
};
overlay: import("vue-types").VueTypeValidableDef<any>;
visible: import("vue-types").VueTypeValidableDef<boolean>;
disabled: import("vue-types").VueTypeValidableDef<boolean>;
align: import("vue-types").VueTypeValidableDef<{
[key: string]: any;
}> & {
default: () => {
[key: string]: any;
};
};
getPopupContainer: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
default: (...args: any[]) => any;
};
prefixCls: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
transitionName: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
placement: import("vue-types").VueTypeDef<"bottomRight" | "bottomLeft" | "topLeft" | "topCenter" | "topRight" | "bottomCenter">;
overlayClassName: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
overlayStyle: import("vue-types").VueTypeValidableDef<import("vue").CSSProperties>;
forceRender: import("vue-types").VueTypeValidableDef<boolean>;
mouseEnterDelay: import("vue-types").VueTypeValidableDef<number> & {
default: number;
};
mouseLeaveDelay: import("vue-types").VueTypeValidableDef<number> & {
default: number;
};
openClassName: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
minOverlayWidthMatchTrigger: import("vue-types").VueTypeValidableDef<boolean>;
};
declare const Dropdown: import("vue").DefineComponent<{
prefixCls: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
mouseEnterDelay: import("vue-types").VueTypeValidableDef<number> & {
default: number;
} & {
default: number;
};
mouseLeaveDelay: import("vue-types").VueTypeValidableDef<number> & {
default: number;
} & {
default: number;
};
placement: import("vue-types").VueTypeDef<"bottomRight" | "bottomLeft" | "topLeft" | "topCenter" | "topRight" | "bottomCenter"> & {
default: "bottomRight" | "bottomLeft" | "topLeft" | "topCenter" | "topRight" | "bottomCenter";
};
onVisibleChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
default: (...args: any[]) => any;
};
'onUpdate:visible': import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
default: (...args: any[]) => any;
};
trigger: {
type: import("vue").PropType<("click" | "contextmenu" | "hover")[]>;
default: () => string[];
};
overlay: import("vue-types").VueTypeValidableDef<any>;
visible: import("vue-types").VueTypeValidableDef<boolean>;
disabled: import("vue-types").VueTypeValidableDef<boolean>;
align: import("vue-types").VueTypeValidableDef<{
[key: string]: any;
}> & {
default: () => {
[key: string]: any;
};
};
getPopupContainer: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
default: (...args: any[]) => any;
};
transitionName: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
overlayClassName: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
overlayStyle: import("vue-types").VueTypeValidableDef<import("vue").CSSProperties>;
forceRender: import("vue-types").VueTypeValidableDef<boolean>;
openClassName: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
minOverlayWidthMatchTrigger: import("vue-types").VueTypeValidableDef<boolean>;
}, {
configProvider: import("../config-provider").ConfigConsumerProps;
popupRef: any;
}, unknown, {}, {
savePopupRef(ref: VNode): void;
getTransitionName(): string;
renderOverlay(prefixCls: string): any;
handleVisibleChange(val: boolean): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("visibleChange" | "update:visible")[], "visibleChange" | "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
prefixCls: string;
align: {
[key: string]: any;
};
transitionName: string;
getPopupContainer: (...args: any[]) => any;
mouseEnterDelay: number;
mouseLeaveDelay: number;
placement: "bottomRight" | "bottomLeft" | "topLeft" | "topCenter" | "topRight" | "bottomCenter";
onVisibleChange: (...args: any[]) => any;
"onUpdate:visible": (...args: any[]) => any;
trigger: ("click" | "contextmenu" | "hover")[];
overlayClassName: string;
openClassName: string;
} & {
visible?: boolean;
overlay?: any;
disabled?: boolean;
forceRender?: boolean;
overlayStyle?: import("vue").CSSProperties;
minOverlayWidthMatchTrigger?: boolean;
}>, {
prefixCls: string;
align: {
[key: string]: any;
};
transitionName: string;
getPopupContainer: (...args: any[]) => any;
mouseEnterDelay: number;
mouseLeaveDelay: number;
placement: "bottomRight" | "bottomLeft" | "topLeft" | "topCenter" | "topRight" | "bottomCenter";
onVisibleChange: (...args: any[]) => any;
"onUpdate:visible": (...args: any[]) => any;
trigger: ("click" | "contextmenu" | "hover")[];
overlayClassName: string;
openClassName: string;
}>;
export default Dropdown;
export { DropdownProps };