vuedraggable
Advanced tools
Comparing version 2.14.1 to 2.15.0
@@ -372,3 +372,11 @@ 'use strict'; | ||
Vue.component('draggable', draggable); | ||
} else { | ||
if(typeof window.Vue == "undefined") { | ||
throw 'Vue.js not found!'; | ||
} | ||
if(typeof window.Sortable == "undefined") { | ||
throw 'Sortable.js not found!'; | ||
} | ||
} | ||
})(); | ||
})(); |
{ | ||
"name": "vuedraggable", | ||
"version": "2.14.1", | ||
"version": "2.15.0", | ||
"description": "draggable component for vue", | ||
@@ -24,3 +24,3 @@ "main": "dist/vuedraggable.js", | ||
"dependencies": { | ||
"sortablejs": "^1.6.0" | ||
"sortablejs": "^1.7.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
@@ -215,2 +215,3 @@ <p align="center"><img width="100"src="https://raw.githubusercontent.com/SortableJS/Vue.Draggable/master/logo.png"></p> | ||
Important: it should be used in conjunction with draggable option to tag draggable element. | ||
Note that footer slot will always be added after the default slot. | ||
Ex: | ||
@@ -230,3 +231,3 @@ | ||
To be able to drag items on an empty draggable component, set a min-height more than 0 on the `draggable` component or the `transition-group` if any and ensure the transition group has display: block; otherwise height won't work. | ||
To be able to drag items on an empty draggable component, set a min-height greater than 0 on the `draggable` component or the `transition-group` if any and ensure the transition group has display: block; otherwise height won't work. | ||
@@ -290,10 +291,10 @@ ### Fiddle | ||
<!-- CDNJS :: Vue (https://cdnjs.com/) --> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/vue/2.5.2/vue.min.js"></script> | ||
<!-- CDNJS :: Sortable (https://cdnjs.com/) --> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/Sortable/1.6.0/Sortable.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/Sortable/1.7.0/Sortable.min.js"></script> | ||
<!-- CDNJS :: Vue.Draggable (https://cdnjs.com/) --> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.13.1/vuedraggable.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.15.0/vuedraggable.min.js"></script> | ||
``` |
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
26237
345
298
Updatedsortablejs@^1.7.0