13 lines
478 B
JavaScript
13 lines
478 B
JavaScript
define("dojo/dnd/Target", [ "../_base/declare", "../dom-class", "./Source" ], function(declare, domClass, Source){
|
|
return declare("dojo.dnd.Target", Source, {
|
|
// summary:
|
|
// a Target object, which can be used as a DnD target
|
|
|
|
constructor: function(/*===== node, params =====*/){
|
|
// summary:
|
|
// a constructor of the Target --- see the `dojo/dnd/Source` constructor for details
|
|
this.isSource = false;
|
|
domClass.remove(this.node, "dojoDndSource");
|
|
}
|
|
});
|
|
});
|