fix: 🐛 passed props to VueDraggable

This commit is contained in:
Kainoa Kanter 2023-09-28 08:33:50 -07:00
parent 8db91f277f
commit 26bc90e44b
5 changed files with 11 additions and 11 deletions

View file

@ -3,9 +3,9 @@
<VueDraggable
v-model="_files"
class="files"
animation="150"
delay="100"
delay-on-touch-only="true"
:animation="150"
:delay="100"
:delay-on-touch-only="true"
>
<div
v-for="element in _files"

View file

@ -28,7 +28,7 @@
i18n.ts.close
}}</MkButton>
</header>
<VueDraggable v-model="widgets_" handle=".handle" animation="150">
<VueDraggable v-model="widgets_" handle=".handle" :animation="150">
<div v-for="element in widgets_" :key="element.id">
<div class="customize-container">
<button

View file

@ -4,8 +4,8 @@
tag="div"
handle=".drag-handle"
:group="{ name: 'blocks' }"
animation="150"
swap-threshold="0.5"
:animation="150"
:swap-threshold="0.5"
>
<component
:is="'x-' + element.type"

View file

@ -125,8 +125,8 @@
class="variables"
handle=".drag-handle"
:group="{ name: 'variables' }"
animation="150"
swap-threshold="0.5"
:animation="150"
:swap-threshold="0.5"
>
<XVariable
v-for="element in variables"

View file

@ -13,9 +13,9 @@
<VueDraggable
v-model="reactions"
class="zoaiodol"
animation="150"
delay="100"
delay-on-touch-only="true"
:animation="150"
:delay="100"
:delay-on-touch-only="true"
@end="save"
>
<div