EventListener.handleEvent()
The EventListener
method
handleEvent()
method is called by the
user agent when an event is sent to the
EventListener
, in order to handle events that occur on an observed
EventTarget
.
Syntax
eventListener.handleEvent(event);
Parameters
event
-
An
Event
object describing the event that has been fired and needs to be processed.
Return value
None.
Specifications
Specification |
---|
DOM Standard # dom-eventlistener-handleevent |
Browser compatibility
BCD tables only load in the browser