$dragOut

the method is called when an item is moved out of a possible drop landing during dnd

void $dragOut(HTMLElement source,HTMLElement old_target,HTMLElement new_target,Event ev);
source
HTMLElementa DOM element from which a drag-n-drop action has started old_target
HTMLElementa DOM element of the drop from which an item has been moved out new_target
HTMLElementa new DOM element which will be used as a drop target (can be null) evEventa native HTML event

Related samples

Details

The method is not purposed for direct call! It is an extension point.

You can override it with your own logic, but check drag-n-drop related events first, as they provide a much more convenient way for drag-n-drop handling.

See also
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    If you have not checked yet, be sure to visit site of our main product Webix html5 framework and page of javascript datagrid product.