@phl/vdrag
Version:
drag for vue
23 lines (16 loc) • 295 B
Markdown
# vdrag
> only drag for vue
>[Demo](https://askycat.github.io/phl-vdrag/)
## Installation
```sh
npm install @phl/vdrag --save
```
## Usage
Import v-drag into any file you are planning to use it.
```js
import drag from "@phl/vdrag"
Vue.use(drag);
```
```html
<div v-drag>Drag me!</div>
```