Documentation

$drop

method called when item dragged and dropped on valid target

void $drop(HTMLElement source,HTMLElement target, ev);

Parameters

sourceHTMLElementDOM element on which dnd action started
targetHTMLElementDOM element of possible drop landing
evEvent native html event

See also

Example

webix.DragControl.addDrop("myDrop",{
    $drop:function(source, target){...}
});

Details

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