vuedraggable
Advanced tools
Comparing version 2.8.6 to 2.9.0
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22183
259