An open API service indexing awesome lists of open source software.

https://github.com/qrailibs/dragndrop.js

JavaScript Library for creating Drag & Drop: Draggable elements and Drop zones
https://github.com/qrailibs/dragndrop.js

drag drag-and-drop draggable drop html js js-framework js-library library ui

Last synced: 12 days ago
JSON representation

JavaScript Library for creating Drag & Drop: Draggable elements and Drop zones

Awesome Lists containing this project

README

          

![dragndrop](https://via.placeholder.com/800x400/232424/0afc77?text=dragndrop.js)

dragndrop.js is lightweight javascript micro-framework to create drag & drop functionality, Easy-to-use.

# Installation
1. Copy code of src/dragndrop.min.js
2. Create file dragndrop.min.js in your project dist folder
3. Write `` in your .html page

# How to Use
You have to simply initialize drop zone (where elements will be dropped) and
draggables (elements that will be dragged):
```html


Draggable

Draggable

Draggable

dragndrop.dropZone('#drop-zone');
dragndrop.draggable('.draggable');

```