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.8.6 to 2.9.0

2

dist/vuedraggable.js

@@ -130,3 +130,3 @@ 'use strict';

isCloning: function isCloning() {
return !!this.options && this.options.group !== null && this.options.group.pull === 'clone';
return !!this.options && !!this.options.group && this.options.group.pull === 'clone';
},

@@ -133,0 +133,0 @@ realList: function realList() {

{
"name": "vuedraggable",
"version": "2.8.6",
"version": "2.9.0",
"description": "draggable component for vue",

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

@@ -98,3 +98,4 @@ <p align="center"><img width="100"src="https://raw.githubusercontent.com/SortableJS/Vue.Draggable/master/logo.png"></p>

Input array to draggable component. Typically same array as referenced by inner element v-for directive.<br>
Should not used directly but used only though the `v-model` directive:
This is the preferred way to use Vue.draggable as it is compatible with Vuex.<br>
It should not be used directly but only though the `v-model` directive:
```html

@@ -111,3 +112,3 @@ <draggable v-model="myArray">

The main diference is that `list` prop is updated by draggable component using splice method, whereas `value` is immutable.<br>
Using `v-model` and `value` is the compatible with Vuex and thus is the preferred way of using draggable.
**Do not use in conjunction with value prop.**

@@ -114,0 +115,0 @@ #### options

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