@dragndrop/dragndrop
v0.1.6
Published
Draggable components
Downloads
17
Maintainers
Readme
Drag`n drop
Dragndrop is main package for @dragndrop. It wraps all of elements inside and gives them in one place.
Examples
Installation
npm install @dragndrop/dragndrop
Usage
import * as dragndrop from '@dragndrop/dragndrop';
const draggable = dragndrop.draggable.Draggable.attachTo(document.querySelector('.draggable'));
// OR
import {dropzone} from '@dragndrop/dragndrop';
const dropzone = dropzone.Dropzone(document.querySelector('.dropzone'));
Check all components here.