UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

47 lines (45 loc) 1.43 kB
import { ExtractPropTypes, PropType, Component } from 'vue'; import { ComicType } from '../../../utils'; export declare const pistolProps: { readonly trigger: { readonly type: PropType<"hover" | "click">; readonly default: "hover"; }; readonly type: PropType<ComicType>; readonly color: StringConstructor; readonly size: { readonly type: NumberConstructor; readonly default: 40; }; readonly equal: { readonly type: BooleanConstructor; readonly default: true; }; readonly mode: { readonly type: PropType<"wheel" | "semi">; readonly default: "wheel"; }; readonly iteration: { readonly type: BooleanConstructor; readonly default: true; }; readonly direction: { readonly type: PropType<"top" | "left" | "bottom" | "right">; readonly default: "top"; }; readonly icon: PropType<Component>; readonly chooseAfterHide: { readonly type: BooleanConstructor; readonly default: true; }; readonly disabled: BooleanConstructor; readonly dept: NumberConstructor; }; export type PistolProps = ExtractPropTypes<typeof pistolProps>; export declare const pistolEmits: { shoot: (sign?: string) => boolean; "trigger-click": (evt: MouseEvent) => boolean; open: () => boolean; close: () => boolean; }; export type PistolEmits = typeof pistolEmits;