gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
8 lines (7 loc) • 318 B
TypeScript
import { type NodeRect } from '../../utils';
import { type PopoverContext } from './common';
export interface PopoverController {
show: (getRect?: () => NodeRect | Promise<NodeRect>) => void;
_inject: (value: PopoverContext) => void;
}
export declare function usePopover(selector?: string): PopoverController;