fix: 🐛 passed props to VueDraggable
This commit is contained in:
parent
8db91f277f
commit
26bc90e44b
@ -3,9 +3,9 @@
|
|||||||
<VueDraggable
|
<VueDraggable
|
||||||
v-model="_files"
|
v-model="_files"
|
||||||
class="files"
|
class="files"
|
||||||
animation="150"
|
:animation="150"
|
||||||
delay="100"
|
:delay="100"
|
||||||
delay-on-touch-only="true"
|
:delay-on-touch-only="true"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-for="element in _files"
|
v-for="element in _files"
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
i18n.ts.close
|
i18n.ts.close
|
||||||
}}</MkButton>
|
}}</MkButton>
|
||||||
</header>
|
</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 v-for="element in widgets_" :key="element.id">
|
||||||
<div class="customize-container">
|
<div class="customize-container">
|
||||||
<button
|
<button
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
tag="div"
|
tag="div"
|
||||||
handle=".drag-handle"
|
handle=".drag-handle"
|
||||||
:group="{ name: 'blocks' }"
|
:group="{ name: 'blocks' }"
|
||||||
animation="150"
|
:animation="150"
|
||||||
swap-threshold="0.5"
|
:swap-threshold="0.5"
|
||||||
>
|
>
|
||||||
<component
|
<component
|
||||||
:is="'x-' + element.type"
|
:is="'x-' + element.type"
|
||||||
|
@ -125,8 +125,8 @@
|
|||||||
class="variables"
|
class="variables"
|
||||||
handle=".drag-handle"
|
handle=".drag-handle"
|
||||||
:group="{ name: 'variables' }"
|
:group="{ name: 'variables' }"
|
||||||
animation="150"
|
:animation="150"
|
||||||
swap-threshold="0.5"
|
:swap-threshold="0.5"
|
||||||
>
|
>
|
||||||
<XVariable
|
<XVariable
|
||||||
v-for="element in variables"
|
v-for="element in variables"
|
||||||
|
@ -13,9 +13,9 @@
|
|||||||
<VueDraggable
|
<VueDraggable
|
||||||
v-model="reactions"
|
v-model="reactions"
|
||||||
class="zoaiodol"
|
class="zoaiodol"
|
||||||
animation="150"
|
:animation="150"
|
||||||
delay="100"
|
:delay="100"
|
||||||
delay-on-touch-only="true"
|
:delay-on-touch-only="true"
|
||||||
@end="save"
|
@end="save"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
Loading…
Reference in New Issue
Block a user