tokens.d.ts 506 B

1234567891011
  1. import { 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>;