Skip to content

Commit

Permalink
Expose events and aborting everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger authored Jan 24, 2022
1 parent 92cbea4 commit 16a01dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ been {{Event/AT_TARGET}}.
<h3 id=interface-event>Interface {{Event}}</h3>

<pre class=idl>
[Exposed=(Window,Worker,AudioWorklet)]
[Exposed=*]
interface Event {
constructor(DOMString type, optional EventInit eventInitDict = {});

Expand Down Expand Up @@ -785,7 +785,7 @@ workers or worklets, and is inaccurate for events dispatched in <a>shadow trees<
<h3 id=interface-customevent>Interface {{CustomEvent}}</h3>

<pre class=idl>
[Exposed=(Window,Worker)]
[Exposed=*]
interface CustomEvent : Event {
constructor(DOMString type, optional CustomEventInit eventInitDict = {});

Expand Down Expand Up @@ -933,7 +933,7 @@ for historical reasons.
<h3 id=interface-eventtarget>Interface {{EventTarget}}</h3>

<pre class=idl>
[Exposed=(Window,Worker,AudioWorklet)]
[Exposed=*]
interface EventTarget {
constructor();

Expand Down Expand Up @@ -1720,7 +1720,7 @@ example of an API where the latter made sense.
<h3 id=interface-abortcontroller>Interface {{AbortController}}</h3>

<pre class=idl>
[Exposed=(Window,Worker)]
[Exposed=*]
interface AbortController {
constructor();

Expand Down Expand Up @@ -1768,7 +1768,7 @@ to <a for=AbortSignal>signal abort</a> on <a>this</a>'s <a for=AbortController>s
<h3 id=interface-AbortSignal>Interface {{AbortSignal}}</h3>

<pre class=idl>
[Exposed=(Window,Worker)]
[Exposed=*]
interface AbortSignal : EventTarget {
[NewObject] static AbortSignal abort(optional any reason);

Expand Down

0 comments on commit 16a01dd

Please sign in to comment.