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.
13 lines (11 loc) • 371 B
JavaScript
define(["../_base/declare", "./Source"], function(declare, Source){
return declare("dojo.dnd.AutoSource", Source, {
// summary:
// a source that syncs its DnD nodes by default
constructor: function(/*===== node, params =====*/){
// summary:
// constructor of the AutoSource --- see the Source constructor for details
this.autoSync = true;
}
});
});