UNPKG

vue3-dnd

Version:

Drag and Drop for Vue Composition API

8 lines (7 loc) 315 B
import type { DragLayerMonitor } from '../types'; import { Ref } from 'vue-demi'; /** * useDragLayer Hook * @param collector The property collector */ export declare function useDragLayer<CollectedProps, DragObject = any>(collect: (monitor: DragLayerMonitor<DragObject>) => CollectedProps): Ref<CollectedProps>;