1, 'beforeDrag / onDrag' 'beforeDrop / onDrop' callback function
This Demo shows the configuration parameters to achieve a more flexible use of drag and drop rules, the operation can be compared with "Normal Drag Node Operation" example.
This Demo default allows copy & move.
This Demo set 'setting.edit.drag.prev / inner / next' as 'function', you can dynamically set according to the node, which can not use beforeDrop callback function, the effect of drag and drop will be better.
After be familiar with these configurations, I think you can design a more flexible and rational rules!
拖拽节点时自动展开父节点是否触发 callback
drag / drop log: