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.

nsIDOMEventListener

IID:df31c120-ded6-11d1-bd85-00805f8ae3f4
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void handleEvent ( nsIDOMEvent event )

void handleEvent ( nsIDOMEvent event )

This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Arguments:
event

References

This interface is the type of the following properties:

nsIDOMOfflineResourceList.oncached, nsIDOMOfflineResourceList.onchecking, nsIDOMOfflineResourceList.ondownloading, nsIDOMOfflineResourceList.onerror, nsIDOMOfflineResourceList.onnoupdate, nsIDOMOfflineResourceList.onprogress, nsIDOMOfflineResourceList.onupdateready, nsIJSXMLHttpRequest.onerror, nsIJSXMLHttpRequest.onload, nsIJSXMLHttpRequest.onprogress, nsIJSXMLHttpRequest.onreadystatechange, nsIJSXMLHttpRequest.onuploadprogress

This interface is passed as an argument to the following methods:

nsIDOM3EventTarget.addGroupedEventListener, nsIDOM3EventTarget.removeGroupedEventListener, nsIDOMEventTarget.addEventListener, nsIDOMEventTarget.removeEventListener, nsIDOMNSEventTarget.addEventListener

Reference documentation is generated from Mozilla's source.