method called when item dragged and dropped on valid target
source | HTMLElement | DOM element on which dnd action started |
target | HTMLElement | DOM element of possible drop landing |
ev | Event native html event |
webix.DragControl.addDrop("myDrop",{
$drop:function(source, target){...}
});
The method isn't purposed for direct call! It is an extension point.
You can override it with your own logic, but be sure to check dnd related events first, as they are provide much more convinient way for dnd handling.
Back to top