@arco-design/web-vue
Version:
Arco Design Vue 2.0: A Vue.js 3 UI Library
9 lines (8 loc) • 314 B
TypeScript
import type { InjectionKey } from 'vue';
export interface TriggerContext {
onMouseenter: (ev: MouseEvent) => void;
onMouseleave: (ev: MouseEvent) => void;
addChildRef: (ref: any) => void;
removeChildRef: (ref: any) => void;
}
export declare const triggerInjectionKey: InjectionKey<TriggerContext>;