You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
489 B
15 lines
489 B
11 months ago
|
import type { InjectionKey, Ref } from 'vue';
|
||
|
import type { Trigger } from './tooltip';
|
||
|
export declare type ElTooltipInjectionContext = {
|
||
|
controlled: Ref<boolean>;
|
||
|
id: Ref<string>;
|
||
|
open: Ref<boolean>;
|
||
|
trigger: Ref<Trigger | Trigger[]>;
|
||
|
onOpen: (e?: Event) => void;
|
||
|
onClose: (e?: Event) => void;
|
||
|
onToggle: (e: Event) => void;
|
||
|
onShow: () => void;
|
||
|
onHide: () => void;
|
||
|
};
|
||
|
export declare const TOOLTIP_INJECTION_KEY: InjectionKey<ElTooltipInjectionContext>;
|