Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

droppedLinkHandler

This article needs a technical review. How you can help.

This article needs an editorial review. How you can help.

droppedLinkHandler
Type: function
Function that is called when links are dropped to the browser element, with the following arguments.
droppedLinkHandler(event, uri, name) -- Firefox 51 or older
droppedLinkHandler(event, links) -- Firefox 52 or newer
  • event -- drop event, or null if no event is available
  • uri -- uri string of the dropped link
  • name -- name string of the dropped link
  • links -- array of the dropped items with nsIDroppedLinkItem interface

Document Tags and Contributors

 Contributors to this page: arai
 Last updated by: arai,