You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dom.bs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -995,6 +995,9 @@ and a <dfn export for=EventTarget>legacy-canceled-activation behavior</dfn> algo
995
995
<p class="note no-backref">These algorithms only exist for checkbox and radio <{input}> elements and
996
996
are not to be used for anything else. [[!HTML]]
997
997
998
+
<p> An {{EventTarget}} object <var>target</var> is said to <dfn export>have a listener for</dfn><var>type</var> if <var>target</var>'s <a>event listener list</a><a for=list>contains</a> an
999
+
<a>event listener</a> whose <a for="event listener">type</a> is <var>type</var>.
1000
+
998
1001
<dl class=domintro>
999
1002
<dt><code><var>target</var> = new <a constructor for=EventTarget lt=EventTarget()>EventTarget</a>();</code>
1000
1003
<dd><p>Creates a new {{EventTarget}} object, which can be used by developers to <a>dispatch</a> and
0 commit comments