@vue-dnd-kit/core
Version:
Core functionality for Vue DnD Kit - a lightweight Vue 3 library for building performant and accessible drag and drop interfaces
12 lines (11 loc) • 610 B
TypeScript
import { IDnDProviderInternal } from '../types/provider';
import { TDropResult } from '../../external';
export declare function runCollisionAndApply(provider: IDnDProviderInternal): void;
export declare function handleDropAndFinish(provider: IDnDProviderInternal): Promise<TDropResult>;
export declare function finishDragSession(provider: IDnDProviderInternal): void;
export declare const createPointerHandlers: (provider: IDnDProviderInternal) => {
pointerDown: (event: PointerEvent) => void;
pointerUp: () => Promise<void>;
pointerMove: (event: PointerEvent) => void;
cleanup: () => void;
};