vue3-dnd
Version:
Drag and Drop for Vue Composition API
6 lines (5 loc) • 397 B
TypeScript
import type { DropTargetMonitor } from '../../types';
import type { DropTargetHookSpec } from '../types';
import { DropTargetImpl } from './DropTargetImpl';
import { MaybeRef } from '../../types/utils';
export declare function useDropTarget<O, R, P>(spec: MaybeRef<DropTargetHookSpec<O, R, P>>, monitor: MaybeRef<DropTargetMonitor<O, R>>): import("vue-demi").ComputedRef<DropTargetImpl<O, R, P>>;