Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@formkit/drag-and-drop

Package Overview
Dependencies
Maintainers
4
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formkit/drag-and-drop - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

docs/public/drag-drop.gif

2

package.json
{
"name": "@formkit/drag-and-drop",
"version": "0.0.16",
"version": "0.0.17",
"description": "Drag and drop package.",

@@ -5,0 +5,0 @@ "main": "./index.cjs",

@@ -1,39 +0,17 @@

# Drag and Drop
<img src="docs/public/drag-drop.gif" alt="FormKit Drag & Drop" width="250" height="250">
# Introduction
[![Vitest](https://github.com/formkit/drag-and-drop/actions/workflows/tests.yml/badge.svg)](https://github.com/formkit/drag-and-drop/actions/workflows/tests.yml)
![GitHub Sponsors](https://img.shields.io/github/sponsors/formkit)
![NPM Version](https://img.shields.io/npm/v/%40formkit%2Ftempo)
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 <a href="https://github.com/SortableJS/Sortable">SortableJS</a> 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 <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API">HTML5 Drag and Drop API</a>.
## Introduction
# 💻 Install
FormKit’s Drag and Drop is a small library for adding data-first drag and drop sorting and transferring for lists in your app. It’s simple, flexible, framework agnostic, and clocks in at only ~4Kb gzipped.
via npm
<a href="https://drag-and-drop.formkit.com">
Check out the docs here!
</a>
```sh
npm install @formkit/drag-and-drop
```
---
or via yarn
```sh
yarn add @formkit/drag-and-drop
```
or via pnpm
```sh
pnpm install @formkit/drag-and-drop
```
# 🕹 Usage
Features:
## Reactive framework wrappers
## Multi-drag
## Drag handles
## Written in TypeScript
## Animations
Created by the <a href="https://formkit.com">FormKit team</a>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc