diff --git a/dom.bs b/dom.bs index ad8b27a3c..93a030f7e 100644 --- a/dom.bs +++ b/dom.bs @@ -995,6 +995,12 @@ and a legacy-canceled-activation behavior algo

These algorithms only exist for checkbox and radio <{input}> elements and are not to be used for anything else. [[!HTML]] +

An {{EventTarget}} object target is said to have a listener for +type if target's event listener list contains an +event listener whose type is type. + +

The presence, or absence, of event listeners should generally remain unobservable, and the above should not be relied on to design new APIs(see [[#observing-event-listeners]]). +

target = new EventTarget();

Creates a new {{EventTarget}} object, which can be used by developers to dispatch and