@fesjs/fes-design
Version:
fes-design for PC
61 lines (60 loc) • 1.94 kB
TypeScript
import type { PropType, StyleValue } from 'vue';
import type { ExtractPublicPropTypes } from '../_util/interface';
export declare const popperProps: {
readonly modelValue: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly trigger: {
readonly type: PropType<"click" | "hover" | "contextmenu" | "focus">;
readonly default: "hover";
};
readonly placement: {
readonly type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
readonly default: "bottom";
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 6;
};
readonly disabled: {
readonly type: PropType<boolean | (() => boolean)>;
readonly default: false;
};
readonly arrow: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly appendToContainer: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly popperClass: PropType<string | object | []>;
readonly popperStyle: {
readonly type: PropType<StyleValue>;
readonly default: () => {};
};
readonly showAfter: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly hideAfter: {
readonly type: NumberConstructor;
readonly default: 200;
};
readonly getContainer: {
readonly type: FunctionConstructor;
};
readonly lazy: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly onlyShowTrigger: {
readonly type: BooleanConstructor;
};
readonly passive: {
readonly type: BooleanConstructor;
readonly default: true;
};
};
export type PopperProps = ExtractPublicPropTypes<typeof popperProps>;