vuedraggable
Advanced tools
Comparing version 2.20.0 to 2.21.0
{ | ||
"name": "vuedraggable", | ||
"version": "2.20.0", | ||
"version": "2.21.0", | ||
"description": "draggable component for vue", | ||
@@ -27,3 +27,3 @@ "main": "dist/vuedraggable.umd.min.js", | ||
"dependencies": { | ||
"sortablejs": "^1.8.4" | ||
"sortablejs": "^1.9.0" | ||
}, | ||
@@ -84,3 +84,3 @@ "devDependencies": { | ||
], | ||
"module": "dist/vuedraggable.common.min.js" | ||
"module": "dist/vuedraggable.common.js" | ||
} |
@@ -40,3 +40,3 @@ <p align="center"><img width="140"src="https://raw.githubusercontent.com/SortableJS/Vue.Draggable/master/logo.svg?sanitize=true"></p> | ||
* Events reporting any changes when full control is needed | ||
* Reuse existing UI library components (such as [vuetify](https://vuetifyjs.com), [element](http://element.eleme.io/), or [vue material](https://vuematerial.io) etc...) and make them draggable using `element` and `componentData` props | ||
* Reuse existing UI library components (such as [vuetify](https://vuetifyjs.com), [element](http://element.eleme.io/), or [vue material](https://vuematerial.io) etc...) and make them draggable using `tag` and `componentData` props | ||
@@ -78,3 +78,3 @@ ## Backers | ||
<!-- CDNJS :: Vue.Draggable (https://cdnjs.com/) --> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.19.2/vuedraggable.umd.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.20.0/vuedraggable.umd.min.js"></script> | ||
@@ -181,7 +181,2 @@ ``` | ||
#### options [deprecated] | ||
**Deprecated: use Sortable options as props; see [below section for more](#All-sortable-options)** | ||
[Legacy documentation](https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/legacy.options.md) | ||
#### All sortable options | ||
@@ -203,3 +198,3 @@ New in version 2.19 | ||
ghost-class="ghost" | ||
:sortable="false" | ||
:sort="false" | ||
@change="log" | ||
@@ -211,6 +206,2 @@ > | ||
#### element | ||
**Deprecated as it has been renamed [tag](#tag)** | ||
#### tag | ||
@@ -378,5 +369,8 @@ Type: `String`<br> | ||
Children elements inside v-for should be keyed as any element in Vue.js. Be carefull to provide revelant key values in particular: | ||
* typically providing array index as keys won't work as key should be linked to the items content | ||
* cloned elements should provide updated keys, it is doable using the [clone props](#clone) for example | ||
- Vue.draggable children should always map the list or value prop using a v-for directive | ||
* You may use [header](https://github.com/SortableJS/Vue.Draggable#header) and [footer](https://github.com/SortableJS/Vue.Draggable#footer) slot to by-pass this limitation. | ||
- Children elements inside v-for should be keyed as any element in Vue.js. Be carefull to provide revelant key values in particular: | ||
* typically providing array index as keys won't work as key should be linked to the items content | ||
* cloned elements should provide updated keys, it is doable using the [clone props](#clone) for example | ||
@@ -383,0 +377,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
632136
388
Updatedsortablejs@^1.9.0