WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIDragDropHandler
| IID: | 4f418f58-f834-4736-a755-e0395bedca9d |
| Inherits From: | nsISupports |
| Status: | UNDER_REVIEW |
Interface for communicating with the built-in drag and drop implementation in the content area. Use this to register where the listeners should attach (something that implements nsPIDOMEventTarget which is what we end up using under the hood).
This interface is implemented by the following components:
Methods
void detach ( )
void hookupTo ( nsIDOMEventTarget attachPoint , nsIWebNavigation navigator )
void hookupTo ( nsIDOMEventTarget attachPoint , nsIWebNavigation navigator )
Attach drag handlers to receiver specified by attachPoint and specify callbacks to allow overriding of the built-in behaviors.
- Arguments:
- attachPoint: hookup listeners to this location
- navigator: loads dropped urls via this interface. If NULL, the client must handle the drop itself, either through the method provided via |overrideDrop| or by letting the event bubble up through the DOM.
Reference documentation is generated from Mozilla's source.
