ivue-material-plus
Version:
A high quality UI components Library with Vue.js
94 lines (93 loc) • 2.33 kB
TypeScript
import type { Props } from './types/drop-down';
declare const _sfc_main: {
name: string;
emits: string[];
props: {
/**
* 是否将弹层放置于 body 内,在 Tabs、
* 带有 fixed 的 Table 列内使用时,
* 建议添加此属性,它将不受父级样式影响,
* 从而达到更好的效果
*
* @type {Boolean}
*/
transfer: {
type: BooleanConstructor;
default(): any;
};
/**
* transitionName
*
* @type {String}
*/
transitionName: {
type: StringConstructor;
default: string;
};
/**
* 弹窗的展开方向,
* 可选值为 top、bottom、top-start、bottom-start、top-end、bottom-end
*
* @type {String}
*/
placement: {
type: StringConstructor;
default: string;
};
/**
* 是否显示
*
* @type {Boolean}
*/
visible: {
type: BooleanConstructor;
};
/**
* 外部样式
*
* @type {Object}
*/
styles: {
type: ObjectConstructor;
default: () => void;
};
/**
* 外部样式
*
* @type {Object}
*/
classes: {
type: ObjectConstructor;
default: () => void;
};
/**
* 外部样式名称
*
* @type {String}
*/
className: {
type: StringConstructor;
};
};
setup(props: Props, { emit }: {
emit: any;
}): {
dropDown: import("vue").Ref<HTMLDivElement>;
data: {
width: string;
zIndex: number;
popper: any;
popperStatus: boolean;
};
wrapperClasses: import("vue").ComputedRef<any>;
wrapperStyles: import("vue").ComputedRef<{
minWidth?: string;
}>;
update: () => void;
destroy: () => void;
handleMouseenter: (event: MouseEvent) => void;
handleMouseleave: (event: MouseEvent) => void;
handleClick: (event: MouseEvent) => void;
};
};
export default _sfc_main;