dojo
Version:
Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.
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");
}
});
});