@dragndrop/dragndrop
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

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.

/@dragndrop/dragndrop/

    Package Sidebar

    Install

    npm i @dragndrop/dragndrop

    Weekly Downloads

    1

    Version

    0.1.6

    License

    MIT

    Unpacked Size

    346 kB

    Total Files

    9

    Last publish

    Collaborators

    • lrembacz