Drag and Drop
Introduction
Drag and Drop is a lightweight JavaScript library that allows you to sort values within a given list or transfer values from one list to another. FormKit Drag and Drop differs from other drag and drop libraries such as SortableJS in that it performs no DOM manipulation to move one element to another. Instead, it relies on the reactive values passed to it, and updates the values based on events from HTML5 Drag and Drop API.
💻 Install
via npm
npm install @formkit/drag-and-drop
or via yarn
yarn add @formkit/drag-and-drop
or via pnpm
pnpm install @formkit/drag-and-drop
🕹 Usage
Features:
Reactive framework wrappers
Multi-drag
Drag handles
Written in TypeScript
Animations