Rev | Line | |
---|
[483] | 1 | define([ "../_base/declare", "../dom-class", "./Source" ], function(declare, domClass, Source){ |
---|
| 2 | return declare("dojo.dnd.Target", Source, { |
---|
| 3 | // summary: |
---|
| 4 | // a Target object, which can be used as a DnD target |
---|
| 5 | |
---|
| 6 | constructor: function(/*===== node, params =====*/){ |
---|
| 7 | // summary: |
---|
| 8 | // a constructor of the Target --- see the `dojo/dnd/Source` constructor for details |
---|
| 9 | this.isSource = false; |
---|
| 10 | domClass.remove(this.node, "dojoDndSource"); |
---|
| 11 | } |
---|
| 12 | }); |
---|
| 13 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.