Roo.util.Observable
Roo.dd.DragDrop 

		   

Class Roo.dd.DragDrop

Package:Roo.dd
Defined In: Roo/dd/DragDrop.js.
Class:DragDrop
Subclasses: Roo.dd.DD, Roo.dd.DDProxy, Roo.dd.DDTarget, Roo.dd.DragSource, Roo.dd.DragZone, Roo.dd.DropTarget, Roo.dd.DropZone
Extends: Roo.util.Observable
Defines the interface and base operation of items that that can be
dragged or can be drop targets. It was designed to be extended, overriding
the event handlers for startDrag, onDrag, onDragOver and onDragOut.
Up to three html elements can be associated with a DragDrop instance:

This class should not be instantiated until the onload event to ensure that
the associated elements are available.
The following would define a DragDrop obj that would interact with any
other DragDrop obj in the "group1" group:

dd = new Roo.dd.DragDrop("div1", "group1");

Since none of the event handlers have been implemented, nothing would
actually happen if you were to run the code above. Normally you would
override this class or one of the default implementations, but you can
also override the methods you want on an instance of the class...

dd.onDragDrop = function(e, id) {
  alert("dd was dropped on " + id);
}
Class Comments / Notes => [Add Your comment/notes about this class]
Config Options (Usually are also Properties)
Options Defined By
Public Properties - Has None
Public Methods
Method Defined By
Events - Has None
Documentation generated by Introspection Doc Generator on Fri Jul 13 2018 14:10:54 GMT+0800 (HKT) Based on JsDoc Toolkit