Socket
Socket
Sign inDemoInstall

vuedraggable

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuedraggable - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

package.json
{
"name": "vuedraggable",
"version": "2.0.2",
"version": "2.0.3",
"description": "draggable component for vue",

@@ -5,0 +5,0 @@ "main": "src/vuedraggable.js",

@@ -12,3 +12,3 @@ # Vue.Draggable

Vue component (Vue2.0) or directive (Vue1.0) allowing drag-and-drop and synchronization with view model array.
Vue component (Vue.js 2.0) or directive (Vue.js 1.0) allowing drag-and-drop and synchronization with view model array.

@@ -103,3 +103,3 @@ Based on and offering all features of [Sortable.js](https://github.com/RubaXa/Sortable)

``` js
npm install vuedraggabble
npm install vuedraggable
```

@@ -109,2 +109,6 @@ ``` js

```
Version 1.0.9 is Vue.js 1.0 compatible <br>
Version 2.0.2 is Vue.js 2.0 compatible
- #### For Modules

@@ -114,9 +118,17 @@

// ES6
//For Vue.js 2.0
import draggable from 'vuedraggable'
//For Vue.js 1.0 only
import VueDraggable from 'vuedraggable'
import Vue from 'vue'
import VueDraggable from 'vuedraggable'
Vue.use(VueDraggable)
// ES5
// ES5
//For Vue.js 1.0
var Vue = require('vue')
Vue.use(require('vuedraggable'))
//For Vue.js 2.0
var draggable = require('vuedraggable')
```

@@ -126,2 +138,3 @@

Just include `vuedraggable.min.js` or 'vue.dragable.for' after Vue. lodash(version >=3) is needed only for Vuejs. 1.0 version of the library.
Just include `vuedraggable.min.js` or 'vue.dragable.for' after Vue.<br>
lodash(version >=3) is needed only for Vuejs. 1.0 version of the library.

@@ -161,3 +161,3 @@ (function() {

if (typeof exports == "object") {
var Sortable = require("Sortablejs")
var Sortable = require("sortablejs")
module.exports = buildDraggable(Sortable)

@@ -164,0 +164,0 @@ } else if (typeof define == "function" && define.amd) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc