vue-drag-and-drop-list
Advanced tools
Comparing version 0.8.3 to 0.8.4
/*! | ||
* Vue-drag-and-drop-list.js v0.8.3 | ||
* (c) 2016 Hejx | ||
* (c) 2017 Hejx | ||
* Released under the MIT License. | ||
@@ -35,3 +35,3 @@ * https://github.com/Alex-fun/vue-drag-and-drop-list#readme | ||
// Check whether the element is draggable, since dragstart might be triggered on a child. | ||
if (dndDraggable == 'false') return true; | ||
if (dndDraggable == 'false' || this.params.dndDisableIf) return true; | ||
@@ -38,0 +38,0 @@ // Serialize the data associated with this element. IE only supports the Text drag type |
@@ -23,3 +23,3 @@ | ||
// Check whether the element is draggable, since dragstart might be triggered on a child. | ||
if (dndDraggable == 'false') return true; | ||
if (dndDraggable == 'false' || this.params.dndDisableIf) return true; | ||
@@ -26,0 +26,0 @@ // Serialize the data associated with this element. IE only supports the Text drag type |
{ | ||
"name": "vue-drag-and-drop-list", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "A Vue.js directives with the HTML5 drag & drop API.", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-drag-and-drop-list.js", |
@@ -1,5 +0,3 @@ | ||
#vue-drag-and-drop-list | ||
#vue-drag-and-drop-list [![npm](https://img.shields.io/npm/v/vue-drag-and-drop-list.svg?maxAge=2592000?style=flat-square)]() | ||
[![npm](https://img.shields.io/npm/v/vue-drag-and-drop-list.svg?maxAge=2592000?style=flat-square)]() | ||
> Vue directives that allow you to build sortable lists with the native HTML5 drag & drop API. Supports nested lists for building trees and other fancy structures. | ||
@@ -34,3 +32,7 @@ | ||
``` | ||
or | ||
```bash | ||
yarn add vue-drag-and-drop-list | ||
``` | ||
## Usage | ||
@@ -37,0 +39,0 @@ |
41948
93