DOM Events

The Event, CustomEvent, and EventTarget globals.

Event, CustomEvent, and EventTarget are globals and follow the DOM Standard.

Differences from browsers

  • There is no DOM tree: dispatch has one target and no capture or bubble phase.
  • During dispatch, eventPhase is Event.AT_TARGET and composedPath() holds only the current target.
  • A listener that throws is reported; the remaining listeners still run.