1
2
3
4
5
6
7
8
9
10
11
12
13
| 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");
| }
| });
| });
|
|