fed72673ae6582a4ba809bd3fcb9aac042bac3620241e3a30f6e8aaba044a25fe87c936eb248c8086fd9f37940dd32c323e7d6e40411665d10fba1483357a5 580 B

123456789101112
  1. import type { PopperProps } from 'element-plus/es/components/popper';
  2. import type { ComputedRef, InjectionKey, Ref } from 'vue';
  3. export type ElDropdownInjectionContext = {
  4. contentRef: Ref<HTMLElement | undefined>;
  5. role: ComputedRef<PopperProps['role']>;
  6. triggerId: ComputedRef<string>;
  7. isUsingKeyboard: Ref<boolean>;
  8. onItemLeave: (e: PointerEvent) => void;
  9. onItemEnter: (e: PointerEvent) => void;
  10. };
  11. export declare const DROPDOWN_INJECTION_KEY: InjectionKey<ElDropdownInjectionContext>;
  12. export declare const DROPDOWN_INSTANCE_INJECTION_KEY = "elDropdown";