Drag and drop in dojo
Simon Bates
simon.bates at utoronto.ca
Thu Apr 12 21:12:37 UTC 2007
Hi everyone,
I've written up some brief notes on drag and drop in Dojo:
Dojo has some generic drag and drop support code which lives in:
http://svn.dojotoolkit.org/dojo/trunk/src/dnd/
This support code can be used by widget creators to add drag and drop to
a widget. For example, the tree widget has drag and drop:
http://sjb.atrc.utoronto.ca/dojo/tests/widget/treeV3/dnd1.html
It uses:
http://svn.dojotoolkit.org/dojo/trunk/src/widget/TreeDndControllerV3.js
and
http://svn.dojotoolkit.org/dojo/trunk/src/dnd/TreeDragAndDropV3.js
There also appears to be a new drag and drop system being developed:
http://sjb.atrc.utoronto.ca/dojo/tests/dnd2/test_dnd.html
and it lives in:
http://svn.dojotoolkit.org/dojo/trunk/src/dnd2/
Please see:
http://dojotoolkit.org/pipermail/dojo-contributors/2007-March/006686.html
In terms of accessibility, I believe the plan is to implement keyboard
equivalents for drag and drop for the tree widget for Dojo 1.0.
All the best,
Simon
More information about the fluid-work
mailing list