Files
dsProject/dsBase/WebRoot/html/cdn/es/components/dropdown/src/tokens.d.ts

9 lines
351 B
TypeScript
Raw Normal View History

2025-08-14 15:45:08 +08:00
import type { InjectionKey, Ref } from 'vue';
export declare type ElDropdownInjectionContext = {
contentRef: Ref<HTMLElement | null>;
isUsingKeyboard: Ref<boolean>;
onItemLeave: (e: PointerEvent) => void;
onItemEnter: (e: PointerEvent) => void;
};
export declare const DROPDOWN_INJECTION_KEY: InjectionKey<ElDropdownInjectionContext>;