onDragOut

fires when a dragged panel is moved outside of the dashboard

void onDragOut(object context,Event native_event){ ... };

Parameters

contextobjectthe drag-n-drop context
native_eventEventan HTML event object

Example

$$("dashboard").attachEvent("onDragOut", function(context, native_event){
    //... some code here ... 
});

Details

The drag-and-drop context can have the following properties:

  • from - the source object
  • to - the target object
  • source - the ID of the dragged item(s)
  • target - the ID of the drop target, null for drop on empty space
  • start - the ID from which drag-and-drop was started
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web development library and page of html dashboard product.