UNPKG

vue3-dnd

Version:

Drag and Drop for Vue Composition API

6 lines (5 loc) 394 B
import { TargetConnector } from '../../internals'; import type { DropTargetMonitor } from '../../types'; import type { DropTargetHookSpec } from '../types'; import { MaybeRef } from '../../types/utils'; export declare function useRegisteredDropTarget<O, R, P>(spec: MaybeRef<DropTargetHookSpec<O, R, P>>, monitor: MaybeRef<DropTargetMonitor<O, R>>, connector: MaybeRef<TargetConnector>): void;