comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
26 lines (24 loc) • 932 B
TypeScript
import { ExtractPropTypes, PropType, Component } from 'vue';
import { ComicType, ComicSize } from '../../../utils';
export declare const dropdownProps: {
readonly trigger: {
readonly type: PropType<"hover" | "click" | "right-click">;
readonly default: "hover";
};
readonly chooseAfterHide: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly button: BooleanConstructor;
readonly size: PropType<ComicSize>;
readonly buttonType: PropType<ComicType>;
readonly buttonIcon: PropType<Component | string>;
readonly disabled: BooleanConstructor;
readonly popperClass: StringConstructor;
};
export type DropdownProps = ExtractPropTypes<typeof dropdownProps>;
export declare const dropdownEmits: {
"menu-click": (value?: string) => boolean;
"button-click": (evt: MouseEvent) => boolean;
};
export type DropdownEmits = typeof dropdownEmits;