AwaitedDOM/ EventTarget

EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
Element, Document, and Window are the most common event targets, but other objects can be event targets too, for example XMLHttpRequest, AudioNode, AudioContext, and others.
Many event targets (including elements, documents, and windows) also support setting event handlers via onevent properties and attributes.

Unimplemented Specs

Methods

addEventListener()dispatchEvent()
removeEventListener()

Edit this page on GitHub