You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
637 B
15 lines
637 B
import type { InjectionKey, Ref } from 'vue';
|
|
import type { Instance } from '@popperjs/core';
|
|
import type { Measurable } from './popper';
|
|
export declare type ElPopperInjectionContext = {
|
|
triggerRef: Ref<Measurable | null>;
|
|
contentRef: Ref<HTMLElement | null>;
|
|
popperInstanceRef: Ref<Instance | null>;
|
|
};
|
|
export declare type ElPopperContentInjectionContext = {
|
|
arrowRef: Ref<HTMLElement | null>;
|
|
arrowOffset: Ref<number | undefined>;
|
|
};
|
|
export declare const POPPER_INJECTION_KEY: InjectionKey<ElPopperInjectionContext>;
|
|
export declare const POPPER_CONTENT_INJECTION_KEY: InjectionKey<ElPopperContentInjectionContext>;
|