EventTarget

EventTarget creates a new EventTarget object, which can be used by developers to dispatch and listen for events.

Syntax

target = new EventTarget();

Examples

Internal

addEventListener

dispatchEvent

removeEventListener

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu