<p>Used to capture the drag event when drag node.</p>
<p>Used to capture the drag event when drag node.</p>
<pclass="highlight_red">If you set 'setting.callback.beforeDrag',and return false, zTree will stop drag, and will not trigger the 'onDrag' callback.</p>
<pclass="highlight_red">If you set 'setting.callback.beforeDrag',and return false, zTree will stop drag, and will not trigger the 'onDragMove' & 'onDrag' callback.</p>
<liclass="title"><h2>Explanation of implementation method</h2>
<liclass="title"><h2>Explanation of implementation method</h2>
<ulclass="list">
<ulclass="list">
<li>zTree v3.2 modified the event object in onDrag/onDrop, thus the nodes can be draged to other DOMs easily.</li>
<li>zTree v3.2 modified the event object in onDrag/onDrop; v3.5.16 add the onDragMove callback, thus the nodes can be draged to other DOMs easily.</li>
<liclass="highlight_red">To drag other DOMS to zTree, you need to build the drag codes by yourself.</li>
<liclass="highlight_red">To drag other DOMS to zTree, you need to build the drag codes by yourself.</li>
<liclass="highlight_red">This is just a simple Demo. If you need more features, please build more complicated codes.</li>
<liclass="highlight_red">This is just a simple Demo. If you need more features, please build more complicated codes.</li>