Drop Confirmation

This demo shows how to use the beforeDrop callback to prompt a user before completing a drag-drop operation.

You will get a modal confirmation popup any time you try to drop a node as a child of a node with a smaller value. Try dropping 20 under 5 now.

{{info}}
{{ data | json }}