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.
16 lines
630 B
16 lines
630 B
import type { InjectionKey, Ref } from 'vue';
|
|
import type { UseNamespaceReturn } from 'element-plus/es/hooks';
|
|
export declare type TooltipV2Context = {
|
|
onClose: () => void;
|
|
onDelayOpen: () => void;
|
|
onOpen: () => void;
|
|
contentId: Ref<string>;
|
|
triggerRef: Ref<HTMLElement | null>;
|
|
ns: UseNamespaceReturn;
|
|
};
|
|
export declare type TooltipV2ContentContext = {
|
|
arrowRef: Ref<HTMLElement | null>;
|
|
};
|
|
export declare const tooltipV2RootKey: InjectionKey<TooltipV2Context>;
|
|
export declare const tooltipV2ContentKey: InjectionKey<TooltipV2ContentContext>;
|
|
export declare const TOOLTIP_V2_OPEN = "tooltip_v2.open";
|
|
|