vue-draggable-plus
Version:
Universal Drag-and-Drop Component Supporting both Vue 3 and Vue 2
10 lines (9 loc) • 356 B
TypeScript
import type { ObjectDirective } from 'vue';
import type { MaybeRef } from './types';
import { UseDraggableOptions } from './useDraggable';
type VDraggableBinding = [
list: MaybeRef<any[]>,
options?: MaybeRef<UseDraggableOptions<any>>
];
export declare const vDraggable: ObjectDirective<HTMLElement, VDraggableBinding | MaybeRef<any[]>>;
export {};