Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

EventTarget

Description

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

Syntax

target = new EventTarget();

Examples

1 · create

2 · dispatch

3 · listen

addEventListener

dispatchEvent

removeEventListener

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu