UNPKG

element-plus

Version:

A Component Library for Vue 3

11 lines (10 loc) 431 B
import type { ComputedRef, InjectionKey, Ref } from 'vue'; export declare type ElDropdownInjectionContext = { contentRef: Ref<HTMLElement | null>; role: ComputedRef<string>; triggerId: ComputedRef<string>; isUsingKeyboard: Ref<boolean>; onItemLeave: (e: PointerEvent) => void; onItemEnter: (e: PointerEvent) => void; }; export declare const DROPDOWN_INJECTION_KEY: InjectionKey<ElDropdownInjectionContext>;