Skip to content

Commit 28fadc2

Browse files
ExE-Bossbzbarsky
authored andcommitted
fix(callback interface): Make EventListener into reference (#826)
1 parent 513c5ea commit 28fadc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ Note: See also the similarly named [=callback function=] definition.
14461446
unless required to describe the requirements of existing APIs.
14471447
Instead, a [=callback function=] should be used.
14481448

1449-
The definition of <code class="idl">EventListener</code> as a
1449+
The definition of {{EventListener}} as a
14501450
[=callback interface=]
14511451
is an example of an existing API that needs to allow
14521452
objects with a
@@ -5637,7 +5637,7 @@ will not be treated as platform objects that implement <code class="idl">Node</c
56375637
[=Callback interfaces=], on the other hand, can be implemented by any ECMAScript object. This
56385638
allows Web APIs to invoke author-defined operations. For example, the DOM Events implementation
56395639
allows authors to register callbacks by providing objects that implement the
5640-
<code class="idl">EventListener</code> interface.
5640+
{{EventListener}} interface.
56415641

56425642

56435643
<h3 id="idl-types">Types</h3>

0 commit comments

Comments
 (0)