vue-devui
Version:
DevUI components based on Vite and Vue3
12 lines (11 loc) • 434 B
TypeScript
import { FlexibleOverlayProps, EmitEventFn } from './flexible-overlay-types';
export declare function useOverlay(props: FlexibleOverlayProps, emit: EmitEventFn): {
arrowRef: import("vue").Ref<HTMLElement | undefined>;
overlayRef: import("vue").Ref<HTMLElement | undefined>;
styles: import("vue").ComputedRef<{
width: string;
} | {
width?: undefined;
}>;
updatePosition: () => Promise<void>;
};