# @dragndrop/dragndrop

> Draggable components

Latest version **0.1.6** (published 2019-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dragndrop/dragndrop
pnpm add @dragndrop/dragndrop
yarn add @dragndrop/dragndrop
bun add @dragndrop/dragndrop
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2019-12-16 |
| First published | 2019-09-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 337.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | lrembacz |
| Keywords | dragndrop, drag and drop, draggable |

## Links

- npm: https://www.npmjs.com/package/@dragndrop/dragndrop
- Repository: https://github.com/lrembacz/dragndrop
- Homepage: https://github.com/lrembacz/dragndrop#readme
- Issues: https://github.com/lrembacz/dragndrop/issues
- npm.io page: https://npm.io/package/@dragndrop/dragndrop

## Dependencies (5)

- [tslib](https://npm.io/package/tslib.md) ^1.9.3
- [@material/dom](https://npm.io/package/@material/dom.md) ^3.1.0
- [@material/base](https://npm.io/package/@material/base.md) ^3.1.0
- [@dragndrop/dropzone](https://npm.io/package/@dragndrop/dropzone.md) ^0.1.6
- [@dragndrop/draggable](https://npm.io/package/@dragndrop/draggable.md) ^0.1.6

## Recent versions

- 0.1.6 (latest) — 2019-12-16
- 0.1.5 — 2019-12-10
- 0.1.4 — 2019-11-27
- 0.1.2 — 2019-11-07
- 0.1.0 — 2019-10-04
- 0.0.2 — 2019-09-20
- 0.0.1 — 2019-09-20

## README

# Drag`n drop

Dragndrop is main package for @dragndrop. It wraps all of elements inside and gives them in one place.

## Examples

- [Demos](https://dragndrop.lukaszrembacz.pl/examples/)


## Installation

```
npm install @dragndrop/dragndrop
```

## Usage

```javascript
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](https://github.com/lrembacz/dragndrop/tree/master/packages).

---
_Source: https://npm.io/package/@dragndrop/dragndrop · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
