element
has been deprecated and you should use tag
props instead. The motivation is to comply with widespread convention.
Migrate from:
<draggable v-for="list" element="ul">
<!-- -->
</draggable>
To:
<draggable v-for="list" tag="ul">
<!-- -->
</draggable>
options
props has been deprecated in version v2.20.
Vue.draggable starting from that release will use transparent wrapper to pass props to the Sortable instance.
So Sortable options can directly be attached to Vue.draggable instance.
Example 1:
Migrate from:
<draggable v-for="list" :options="{handle: '.handle'}">
<!-- -->
</draggable>
To:
<draggable v-for="list" handle=".handle">
<!-- -->
</draggable>
Example 2:
Migrate from:
<draggable v-for="list" :options="getOptions()">
<!-- -->
</draggable>
To:
<draggable v-for="list" v-bind="getOptions()">
<!-- -->
</draggable>