can
Version:
MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy.
14 lines (12 loc) • 459 B
JavaScript
define([ "../_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");
}
});
});