We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

EventListener Redirect 1

Method overview

void handleEvent(in nsIDOMEvent event);



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

void handleEvent(
  in nsIDOMEvent event
The DOM Event to register.


As the interface is marked with the [function] flag, all JavaScript Function objects automatically implement this interface. Calling the handleEvent() method on such an implementation automatically invokes the function.

See also

Document Tags and Contributors

Last updated by: Sheppy,