UNPKG

double-ui-vue

Version:
26 lines (25 loc) 664 B
import { VNode, Ref } from 'vue'; export interface Instance { vm: VNode; tag: Ref<HTMLElement> | HTMLElement; countTag: Ref<HTMLElement> | HTMLElement; setContent(content: string): void; setShow(show: boolean): void; resetPosition(): void; remove(): void; } interface Props { tag: HTMLElement; countTag: HTMLElement; content: string | Ref<string>; split: boolean; dropShow: boolean; } interface Options { tipShow: boolean; props: Props; changeTipShow(status: boolean): void; tipHandle(str: string): void; } declare const TipModalHandle: (options: Options) => Instance; export default TipModalHandle;