void handleEvent(in Event event); |
This method is called whenever an event occurs of the type for which the EventListener
interface was registered.
void handleEvent( in Event event );
event
Event
which was triggered.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.
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/EventListener