double-ui-vue
Version:
17 lines (16 loc) • 408 B
TypeScript
import { VNode, Ref } from 'vue';
import { Item } from './DropBox';
export interface Instance {
vm: VNode;
tag: Ref<HTMLElement> | HTMLElement;
setShow(show: boolean): void;
resetPosition(): void;
remove(): void;
}
interface Options {
tag: HTMLElement;
[key: string]: any;
}
declare const DropPanel: (options: Options) => Instance;
export default DropPanel;
export type { Item };