sortablejs-vue3
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -56,9 +56,15 @@ import { defineComponent, ref, computed, watch, onUnmounted, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, Fragment, renderList, renderSlot, unref } from "vue"; | ||
}); | ||
watch(() => props.options, (options) => { | ||
if (options && sortable?.value) { | ||
for (const property in options) { | ||
sortable.value.option(property, options[property]); | ||
watch( | ||
() => props.options, | ||
(options) => { | ||
if (options && sortable?.value) { | ||
for (const property in options) { | ||
sortable.value.option( | ||
property, | ||
options[property] | ||
); | ||
} | ||
} | ||
} | ||
}); | ||
); | ||
onUnmounted(() => { | ||
@@ -65,0 +71,0 @@ if (sortable.value) { |
{ | ||
"name": "sortablejs-vue3", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"author": { | ||
@@ -48,9 +48,9 @@ "email": "maxwell.leiter@gmail.com", | ||
"@types/sortablejs": "1.13.0", | ||
"@vitejs/plugin-vue": "3.0.1", | ||
"@vitejs/plugin-vue": "3.1.0", | ||
"prettier": "2.7.1", | ||
"terser": "5.14.2", | ||
"typescript": "4.7.4", | ||
"vite": "3.0.4", | ||
"vue-tsc": "0.39.2" | ||
"terser": "5.15.0", | ||
"typescript": "4.8.2", | ||
"vite": "3.1.0", | ||
"vue-tsc": "0.40.11" | ||
} | ||
} |
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
587276
383