This commit is contained in:
ben%netscape.com 2000-08-29 08:05:51 +00:00
Родитель 0b238b1d09
Коммит 92e59249f1
1 изменённых файлов: 11 добавлений и 1 удалений

Просмотреть файл

@ -23,6 +23,16 @@
* Contributor(s):
*/
/**
* XXX - until load is supported in chrome, you also need to include
* these files:
* chrome://global/content/nsJSSupportsUtils.js
* chrome://global/content/nsJSComponentManager.js
* chrome://global/content/nsTransferable.js
**/
/**
* nsDragAndDrop - a convenience wrapper for nsTransferable, nsITransferable
* and nsIDragService/nsIDragSession.
@ -30,7 +40,7 @@
* Use: map the handler functions to the 'ondraggesture', 'ondragover' and
* 'ondragdrop' event handlers on your XML element, e.g.
* <xmlelement ondraggesture="nsDragAndDrop.startDrag(event, observer);"
* ondragover="nsDragAndDrop.dragOver(event, observer);"
* ondragover="nsDragAndDrop.startDrag(event, observer);"
* ondragdrop="nsDragAndDrop.drop(event, observer);"/>
*
* You need to create an observer js object with the following member