onBeforeDragIn
fires before a dragged panel is moved over the dashboard
void onBeforeDragIn(object context,Event native_event);
| context | object | the drag-n-drop context |
| native_event | Event | an HTML event object |
Example
$$("dashboard").attachEvent("onBeforeDragIn", 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 dropping on empty space
- start - the ID from which drag-n-drop was started
See also
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.