fine-true
Version:
A small and beautiful Vue3 version of the UI Library
13 lines (12 loc) • 716 B
TypeScript
import { InjectionKey } from 'vue';
declare type PopoverProvideType = {
getSourceEl: (el: HTMLElement) => void;
getTargetEl: (el: HTMLElement) => void;
};
export declare const POPOVERPROVIDEKEY: InjectionKey<PopoverProvideType>;
export declare const placements: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
export declare type PlacementType = typeof placements[number];
export declare const triggers: readonly ["click", "hover", "focus", "contextmenu"];
export declare type TriggerType = typeof triggers[number];
export declare const getLastNotTextChild: (childs: any) => any;
export {};