Inherits From:nsISupports

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 nsIDOMEventReceiver which is what we end up using under the hood).

This interface is implemented by the following components:


void detach ( ) void hookupTo ( nsIDOMEventTarget attachPoint , nsIWebNavigation navigator )

void detach ( )

Unregister all handlers related to drag&drop;

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.

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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com