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.

EventListener

This is a scriptable interface corresponding to the nsIDOMEventListener XPCOM interface.

Methods

void handleEvent ( Event event )

void handleEvent ( Event event )

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

Arguments:
event

Reference documentation is generated from Mozilla's source.