vue-drag-element-directive

1.0.2 • Public • Published

vue-drag-element-directive

A Directive for dragging element accross the DOM inside the view port.

Installation

  • npm install Run npm install --save vue-drag-element-directive

  • With Modules

// ES6
import Drag from 'vue-drag-element-directive'

directives: {
    Drag
}

Usage

There's nothing you need to do in JavaScript except for installation. To use the plugin, simply use the v-drag directive.

<div v-drag>
    drag me
</div>

License

wtfpl

Package Sidebar

Install

npm i vue-drag-element-directive

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

3.99 kB

Total Files

4

Last publish

Collaborators

  • arunsivan