UNPKG

@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

8 lines (7 loc) 314 B
import { TDnDNodeRef, TDragAxis } from '../types'; import { Ref } from 'vue'; export interface IMakeConstraintAreaOptions { axis?: TDragAxis | Ref<TDragAxis>; restrictToArea?: boolean | Ref<boolean>; } export declare function makeConstraintArea(ref: TDnDNodeRef, options?: IMakeConstraintAreaOptions): {};