Visit Mozilla.org

Drag and drop events

From MDC

This article covers features introduced in Firefox 3


Firefox 3 adds two new events that allow you to determine when drag operations begin and end. These events are new in the current working draft of the HTML 5 specification.

drag
Sent when a drag operation begins.
dragend
Sent when a drag operation ends.

For more information about drag and drop, see the article Drag and Drop.

You can see an example of these events in action here:

[edit] See also