Open mrquokka opened 5 years ago
Once you wrap the <el-table>
with the <el-table-draggable>
component, you can list to the drop
event on the component which is emitted once the element is dropped. I had a look at the source code while implementing this. For eg.
<el-table-draggable @drop="yourEventHandler">
The function will receive a single object containing the updated list and the item that was dragged.
Can you add demonstation how it works, please?