@rescript/webapi 0.1.0-experimental-a0d5168 → 0.1.0-experimental-47c6b2c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/CSSFontLoadingAPI/FontFaceSet.res +3 -79
- package/src/CanvasAPI/OffscreenCanvas.res +3 -79
- package/src/ChannelMessagingAPI/MessagePort.res +3 -81
- package/src/ClipboardAPI/Clipboard.res +3 -80
- package/src/DOMAPI/Animation.res +3 -80
- package/src/DOMAPI/CharacterData.res +68 -231
- package/src/DOMAPI/Comment.res +4 -271
- package/src/DOMAPI/Document.res +4 -178
- package/src/DOMAPI/DocumentFragment.res +58 -220
- package/src/DOMAPI/Element.res +313 -477
- package/src/DOMAPI/HTMLAnchorElement.res +3 -691
- package/src/DOMAPI/HTMLAreaElement.res +3 -685
- package/src/DOMAPI/HTMLAudioElement.res +3 -748
- package/src/DOMAPI/HTMLBRElement.res +3 -684
- package/src/DOMAPI/HTMLBaseElement.res +3 -685
- package/src/DOMAPI/HTMLBodyElement.res +3 -685
- package/src/DOMAPI/HTMLButtonElement.res +3 -691
- package/src/DOMAPI/HTMLCanvasElement.res +3 -691
- package/src/DOMAPI/HTMLDListElement.res +3 -688
- package/src/DOMAPI/HTMLDataElement.res +3 -685
- package/src/DOMAPI/HTMLDataListElement.res +3 -695
- package/src/DOMAPI/HTMLDialogElement.res +3 -691
- package/src/DOMAPI/HTMLDivElement.res +3 -684
- package/src/DOMAPI/HTMLElement.res +40 -666
- package/src/DOMAPI/HTMLEmbedElement.res +3 -688
- package/src/DOMAPI/HTMLFieldSetElement.res +3 -695
- package/src/DOMAPI/HTMLFormElement.res +3 -685
- package/src/DOMAPI/HTMLFrameSetElement.res +3 -695
- package/src/DOMAPI/HTMLHRElement.res +3 -684
- package/src/DOMAPI/HTMLHeadElement.res +3 -685
- package/src/DOMAPI/HTMLHeadingElement.res +3 -691
- package/src/DOMAPI/HTMLHtmlElement.res +3 -685
- package/src/DOMAPI/HTMLIFrameElement.res +3 -691
- package/src/DOMAPI/HTMLImageElement.res +3 -688
- package/src/DOMAPI/HTMLInputElement.res +3 -688
- package/src/DOMAPI/HTMLLIElement.res +3 -684
- package/src/DOMAPI/HTMLLabelElement.res +3 -688
- package/src/DOMAPI/HTMLLegendElement.res +3 -691
- package/src/DOMAPI/HTMLLinkElement.res +3 -685
- package/src/DOMAPI/HTMLMapElement.res +3 -684
- package/src/DOMAPI/HTMLMediaElement.res +49 -722
- package/src/DOMAPI/HTMLMenuElement.res +3 -685
- package/src/DOMAPI/HTMLMetaElement.res +3 -685
- package/src/DOMAPI/HTMLMeterElement.res +3 -688
- package/src/DOMAPI/HTMLModElement.res +3 -684
- package/src/DOMAPI/HTMLOListElement.res +3 -688
- package/src/DOMAPI/HTMLObjectElement.res +3 -691
- package/src/DOMAPI/HTMLOptGroupElement.res +3 -695
- package/src/DOMAPI/HTMLOptionElement.res +3 -691
- package/src/DOMAPI/HTMLOutputElement.res +3 -691
- package/src/DOMAPI/HTMLParagraphElement.res +3 -699
- package/src/DOMAPI/HTMLPictureElement.res +3 -691
- package/src/DOMAPI/HTMLPreElement.res +3 -684
- package/src/DOMAPI/HTMLProgressElement.res +3 -695
- package/src/DOMAPI/HTMLQuoteElement.res +3 -688
- package/src/DOMAPI/HTMLScriptElement.res +3 -691
- package/src/DOMAPI/HTMLSelectElement.res +4 -692
- package/src/DOMAPI/HTMLSlotElement.res +3 -685
- package/src/DOMAPI/HTMLSourceElement.res +3 -691
- package/src/DOMAPI/HTMLSpanElement.res +3 -685
- package/src/DOMAPI/HTMLStyleElement.res +3 -688
- package/src/DOMAPI/HTMLTableCaptionElement.res +3 -712
- package/src/DOMAPI/HTMLTableCellElement.res +3 -699
- package/src/DOMAPI/HTMLTableElement.res +3 -688
- package/src/DOMAPI/HTMLTableRowElement.res +3 -695
- package/src/DOMAPI/HTMLTableSectionElement.res +3 -712
- package/src/DOMAPI/HTMLTemplateElement.res +3 -695
- package/src/DOMAPI/HTMLTextAreaElement.res +3 -695
- package/src/DOMAPI/HTMLTimeElement.res +3 -685
- package/src/DOMAPI/HTMLTitleElement.res +3 -688
- package/src/DOMAPI/HTMLTrackElement.res +3 -688
- package/src/DOMAPI/HTMLUListElement.res +3 -688
- package/src/DOMAPI/HTMLVideoElement.res +3 -748
- package/src/DOMAPI/MediaQueryList.res +3 -80
- package/src/DOMAPI/Node.res +59 -124
- package/src/DOMAPI/SVGGraphicsElement.res +4 -660
- package/src/DOMAPI/ScreenOrientation.res +3 -79
- package/src/DOMAPI/ShadowRoot.res +4 -255
- package/src/DOMAPI/Text.res +4 -271
- package/src/DOMAPI/TextTrackList.res +3 -79
- package/src/DOMAPI/Window.res +4 -80
- package/src/EncryptedMediaExtensionsAPI/MediaKeySession.res +3 -80
- package/src/EventAPI/AbortSignal.res +3 -80
- package/src/EventAPI/Event.res +28 -16
- package/src/EventAPI/EventTarget.res +51 -39
- package/src/FileAPI/Blob.res +26 -15
- package/src/FileAPI/File.res +4 -31
- package/src/IndexedDBAPI/IDBDatabase.res +3 -79
- package/src/IndexedDBAPI/IDBTransaction.res +3 -80
- package/src/MediaCaptureAndStreamsAPI/MediaDevices.res +3 -79
- package/src/MediaCaptureAndStreamsAPI/MediaStream.res +3 -80
- package/src/MediaCaptureAndStreamsAPI/MediaStreamTrack.res +3 -81
- package/src/NotificationAPI/Notification.res +3 -80
- package/src/PerformanceAPI/Performance.res +3 -79
- package/src/RemotePlaybackAPI/RemotePlayback.res +3 -80
- package/src/ScreenWakeLockAPI/WakeLockSentinel.res +3 -79
- package/src/ServiceWorkerAPI/ServiceWorker.res +3 -79
- package/src/ServiceWorkerAPI/ServiceWorkerContainer.res +3 -79
- package/src/ServiceWorkerAPI/ServiceWorkerRegistration.res +3 -79
- package/src/WebAudioAPI/AnalyserNode.res +4 -148
- package/src/WebAudioAPI/AudioBufferSourceNode.res +4 -162
- package/src/WebAudioAPI/AudioContext.res +4 -212
- package/src/WebAudioAPI/AudioNode.res +39 -113
- package/src/WebAudioAPI/AudioProcessingEvent.res +4 -30
- package/src/WebAudioAPI/AudioScheduledSourceNode.res +20 -162
- package/src/WebAudioAPI/AudioWorkletNode.res +4 -149
- package/src/WebAudioAPI/BaseAudioContext.res +85 -155
- package/src/WebAudioAPI/BiquadFilterNode.res +4 -149
- package/src/WebAudioAPI/ChannelMergerNode.res +4 -149
- package/src/WebAudioAPI/ChannelSplitterNode.res +4 -149
- package/src/WebAudioAPI/ConstantSourceNode.res +4 -162
- package/src/WebAudioAPI/ConvolverNode.res +4 -149
- package/src/WebAudioAPI/DelayNode.res +4 -143
- package/src/WebAudioAPI/DynamicsCompressorNode.res +4 -152
- package/src/WebAudioAPI/GainNode.res +4 -142
- package/src/WebAudioAPI/IIRFilterNode.res +4 -149
- package/src/WebAudioAPI/MediaElementAudioSourceNode.res +4 -158
- package/src/WebAudioAPI/MediaStreamAudioDestinationNode.res +4 -158
- package/src/WebAudioAPI/MediaStreamAudioSourceNode.res +4 -158
- package/src/WebAudioAPI/OfflineAudioCompletionEvent.res +4 -30
- package/src/WebAudioAPI/OfflineAudioContext.res +4 -214
- package/src/WebAudioAPI/OscillatorNode.res +4 -162
- package/src/WebAudioAPI/PannerNode.res +4 -143
- package/src/WebAudioAPI/StereoPannerNode.res +4 -149
- package/src/WebAudioAPI/WaveShaperNode.res +4 -149
- package/src/WebSocketsAPI/CloseEvent.res +4 -30
- package/src/WebSocketsAPI/WebSocket.res +3 -79
- package/src/WebSpeechAPI/SpeechSynthesis.res +3 -79
- package/src/WebSpeechAPI/SpeechSynthesisUtterance.res +4 -81
- package/src/WebStorageAPI/StorageEvent.res +4 -30
- package/src/WebVTTAPI/TextTrack.res +3 -79
|
@@ -1,157 +1,12 @@
|
|
|
1
|
-
open EventAPI
|
|
2
1
|
open WebAudioAPI
|
|
3
2
|
|
|
3
|
+
include AudioNode.Impl({
|
|
4
|
+
type t = stereoPannerNode
|
|
5
|
+
})
|
|
6
|
+
|
|
4
7
|
/**
|
|
5
8
|
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/StereoPannerNode)
|
|
6
9
|
*/
|
|
7
10
|
@new
|
|
8
11
|
external make: (~context: baseAudioContext, ~options: stereoPannerOptions=?) => stereoPannerNode =
|
|
9
12
|
"StereoPannerNode"
|
|
10
|
-
|
|
11
|
-
external asAudioNode: stereoPannerNode => audioNode = "%identity"
|
|
12
|
-
external asEventTarget: stereoPannerNode => eventTarget = "%identity"
|
|
13
|
-
/**
|
|
14
|
-
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
|
|
15
|
-
|
|
16
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
17
|
-
|
|
18
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
19
|
-
|
|
20
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
21
|
-
|
|
22
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
23
|
-
|
|
24
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
25
|
-
|
|
26
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
27
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
28
|
-
*/
|
|
29
|
-
@send
|
|
30
|
-
external addEventListener: (
|
|
31
|
-
stereoPannerNode,
|
|
32
|
-
~type_: eventType,
|
|
33
|
-
~callback: eventListener<'event>,
|
|
34
|
-
~options: addEventListenerOptions=?,
|
|
35
|
-
) => unit = "addEventListener"
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
|
|
39
|
-
|
|
40
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
41
|
-
|
|
42
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
43
|
-
|
|
44
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
45
|
-
|
|
46
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
47
|
-
|
|
48
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
49
|
-
|
|
50
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
51
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
52
|
-
*/
|
|
53
|
-
@send
|
|
54
|
-
external addEventListener2: (
|
|
55
|
-
stereoPannerNode,
|
|
56
|
-
~type_: eventType,
|
|
57
|
-
~callback: eventListener<'event>,
|
|
58
|
-
~options: bool=?,
|
|
59
|
-
) => unit = "addEventListener"
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
63
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
64
|
-
*/
|
|
65
|
-
@send
|
|
66
|
-
external removeEventListener: (
|
|
67
|
-
stereoPannerNode,
|
|
68
|
-
~type_: eventType,
|
|
69
|
-
~callback: eventListener<'event>,
|
|
70
|
-
~options: eventListenerOptions=?,
|
|
71
|
-
) => unit = "removeEventListener"
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
75
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
76
|
-
*/
|
|
77
|
-
@send
|
|
78
|
-
external removeEventListener2: (
|
|
79
|
-
stereoPannerNode,
|
|
80
|
-
~type_: eventType,
|
|
81
|
-
~callback: eventListener<'event>,
|
|
82
|
-
~options: bool=?,
|
|
83
|
-
) => unit = "removeEventListener"
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
|
87
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
|
88
|
-
*/
|
|
89
|
-
@send
|
|
90
|
-
external dispatchEvent: (stereoPannerNode, event) => bool = "dispatchEvent"
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/connect)
|
|
94
|
-
*/
|
|
95
|
-
@send
|
|
96
|
-
external connect: (
|
|
97
|
-
stereoPannerNode,
|
|
98
|
-
~destinationNode: audioNode,
|
|
99
|
-
~output: int=?,
|
|
100
|
-
~input: int=?,
|
|
101
|
-
) => audioNode = "connect"
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/connect)
|
|
105
|
-
*/
|
|
106
|
-
@send
|
|
107
|
-
external connect2: (stereoPannerNode, ~destinationParam: audioParam, ~output: int=?) => unit =
|
|
108
|
-
"connect"
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
112
|
-
*/
|
|
113
|
-
@send
|
|
114
|
-
external disconnect: stereoPannerNode => unit = "disconnect"
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
118
|
-
*/
|
|
119
|
-
@send
|
|
120
|
-
external disconnect2: (stereoPannerNode, int) => unit = "disconnect"
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
124
|
-
*/
|
|
125
|
-
@send
|
|
126
|
-
external disconnect3: (stereoPannerNode, audioNode) => unit = "disconnect"
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
130
|
-
*/
|
|
131
|
-
@send
|
|
132
|
-
external disconnect4: (stereoPannerNode, ~destinationNode: audioNode, ~output: int) => unit =
|
|
133
|
-
"disconnect"
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
137
|
-
*/
|
|
138
|
-
@send
|
|
139
|
-
external disconnect5: (
|
|
140
|
-
stereoPannerNode,
|
|
141
|
-
~destinationNode: audioNode,
|
|
142
|
-
~output: int,
|
|
143
|
-
~input: int,
|
|
144
|
-
) => unit = "disconnect"
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
148
|
-
*/
|
|
149
|
-
@send
|
|
150
|
-
external disconnect6: (stereoPannerNode, audioParam) => unit = "disconnect"
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
154
|
-
*/
|
|
155
|
-
@send
|
|
156
|
-
external disconnect7: (stereoPannerNode, ~destinationParam: audioParam, ~output: int) => unit =
|
|
157
|
-
"disconnect"
|
|
@@ -1,157 +1,12 @@
|
|
|
1
|
-
open EventAPI
|
|
2
1
|
open WebAudioAPI
|
|
3
2
|
|
|
3
|
+
include AudioNode.Impl({
|
|
4
|
+
type t = waveShaperNode
|
|
5
|
+
})
|
|
6
|
+
|
|
4
7
|
/**
|
|
5
8
|
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WaveShaperNode)
|
|
6
9
|
*/
|
|
7
10
|
@new
|
|
8
11
|
external make: (~context: baseAudioContext, ~options: waveShaperOptions=?) => waveShaperNode =
|
|
9
12
|
"WaveShaperNode"
|
|
10
|
-
|
|
11
|
-
external asAudioNode: waveShaperNode => audioNode = "%identity"
|
|
12
|
-
external asEventTarget: waveShaperNode => eventTarget = "%identity"
|
|
13
|
-
/**
|
|
14
|
-
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
|
|
15
|
-
|
|
16
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
17
|
-
|
|
18
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
19
|
-
|
|
20
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
21
|
-
|
|
22
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
23
|
-
|
|
24
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
25
|
-
|
|
26
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
27
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
28
|
-
*/
|
|
29
|
-
@send
|
|
30
|
-
external addEventListener: (
|
|
31
|
-
waveShaperNode,
|
|
32
|
-
~type_: eventType,
|
|
33
|
-
~callback: eventListener<'event>,
|
|
34
|
-
~options: addEventListenerOptions=?,
|
|
35
|
-
) => unit = "addEventListener"
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
|
|
39
|
-
|
|
40
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
41
|
-
|
|
42
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
43
|
-
|
|
44
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
45
|
-
|
|
46
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
47
|
-
|
|
48
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
49
|
-
|
|
50
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
51
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
52
|
-
*/
|
|
53
|
-
@send
|
|
54
|
-
external addEventListener2: (
|
|
55
|
-
waveShaperNode,
|
|
56
|
-
~type_: eventType,
|
|
57
|
-
~callback: eventListener<'event>,
|
|
58
|
-
~options: bool=?,
|
|
59
|
-
) => unit = "addEventListener"
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
63
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
64
|
-
*/
|
|
65
|
-
@send
|
|
66
|
-
external removeEventListener: (
|
|
67
|
-
waveShaperNode,
|
|
68
|
-
~type_: eventType,
|
|
69
|
-
~callback: eventListener<'event>,
|
|
70
|
-
~options: eventListenerOptions=?,
|
|
71
|
-
) => unit = "removeEventListener"
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
75
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
76
|
-
*/
|
|
77
|
-
@send
|
|
78
|
-
external removeEventListener2: (
|
|
79
|
-
waveShaperNode,
|
|
80
|
-
~type_: eventType,
|
|
81
|
-
~callback: eventListener<'event>,
|
|
82
|
-
~options: bool=?,
|
|
83
|
-
) => unit = "removeEventListener"
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
|
87
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
|
88
|
-
*/
|
|
89
|
-
@send
|
|
90
|
-
external dispatchEvent: (waveShaperNode, event) => bool = "dispatchEvent"
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/connect)
|
|
94
|
-
*/
|
|
95
|
-
@send
|
|
96
|
-
external connect: (
|
|
97
|
-
waveShaperNode,
|
|
98
|
-
~destinationNode: audioNode,
|
|
99
|
-
~output: int=?,
|
|
100
|
-
~input: int=?,
|
|
101
|
-
) => audioNode = "connect"
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/connect)
|
|
105
|
-
*/
|
|
106
|
-
@send
|
|
107
|
-
external connect2: (waveShaperNode, ~destinationParam: audioParam, ~output: int=?) => unit =
|
|
108
|
-
"connect"
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
112
|
-
*/
|
|
113
|
-
@send
|
|
114
|
-
external disconnect: waveShaperNode => unit = "disconnect"
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
118
|
-
*/
|
|
119
|
-
@send
|
|
120
|
-
external disconnect2: (waveShaperNode, int) => unit = "disconnect"
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
124
|
-
*/
|
|
125
|
-
@send
|
|
126
|
-
external disconnect3: (waveShaperNode, audioNode) => unit = "disconnect"
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
130
|
-
*/
|
|
131
|
-
@send
|
|
132
|
-
external disconnect4: (waveShaperNode, ~destinationNode: audioNode, ~output: int) => unit =
|
|
133
|
-
"disconnect"
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
137
|
-
*/
|
|
138
|
-
@send
|
|
139
|
-
external disconnect5: (
|
|
140
|
-
waveShaperNode,
|
|
141
|
-
~destinationNode: audioNode,
|
|
142
|
-
~output: int,
|
|
143
|
-
~input: int,
|
|
144
|
-
) => unit = "disconnect"
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
148
|
-
*/
|
|
149
|
-
@send
|
|
150
|
-
external disconnect6: (waveShaperNode, audioParam) => unit = "disconnect"
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
|
|
154
|
-
*/
|
|
155
|
-
@send
|
|
156
|
-
external disconnect7: (waveShaperNode, ~destinationParam: audioParam, ~output: int) => unit =
|
|
157
|
-
"disconnect"
|
|
@@ -1,37 +1,11 @@
|
|
|
1
|
-
open EventAPI
|
|
2
1
|
open WebSocketsAPI
|
|
3
2
|
|
|
3
|
+
include Event.Impl({
|
|
4
|
+
type t = closeEvent
|
|
5
|
+
})
|
|
6
|
+
|
|
4
7
|
/**
|
|
5
8
|
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/CloseEvent)
|
|
6
9
|
*/
|
|
7
10
|
@new
|
|
8
11
|
external make: (~type_: string, ~eventInitDict: closeEventInit=?) => closeEvent = "CloseEvent"
|
|
9
|
-
|
|
10
|
-
external asEvent: closeEvent => event = "%identity"
|
|
11
|
-
/**
|
|
12
|
-
Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.
|
|
13
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/composedPath)
|
|
14
|
-
*/
|
|
15
|
-
@send
|
|
16
|
-
external composedPath: closeEvent => array<eventTarget> = "composedPath"
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.
|
|
20
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/stopPropagation)
|
|
21
|
-
*/
|
|
22
|
-
@send
|
|
23
|
-
external stopPropagation: closeEvent => unit = "stopPropagation"
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.
|
|
27
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
28
|
-
*/
|
|
29
|
-
@send
|
|
30
|
-
external stopImmediatePropagation: closeEvent => unit = "stopImmediatePropagation"
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.
|
|
34
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
|
|
35
|
-
*/
|
|
36
|
-
@send
|
|
37
|
-
external preventDefault: closeEvent => unit = "preventDefault"
|
|
@@ -14,85 +14,9 @@ external make: (~url: string, ~protocols: string=?) => webSocket = "WebSocket"
|
|
|
14
14
|
@new
|
|
15
15
|
external make2: (~url: string, ~protocols: array<string>=?) => webSocket = "WebSocket"
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
22
|
-
|
|
23
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
24
|
-
|
|
25
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
26
|
-
|
|
27
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
28
|
-
|
|
29
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
30
|
-
|
|
31
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
32
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
33
|
-
*/
|
|
34
|
-
@send
|
|
35
|
-
external addEventListener: (
|
|
36
|
-
webSocket,
|
|
37
|
-
~type_: eventType,
|
|
38
|
-
~callback: eventListener<'event>,
|
|
39
|
-
~options: addEventListenerOptions=?,
|
|
40
|
-
) => unit = "addEventListener"
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
|
|
44
|
-
|
|
45
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
46
|
-
|
|
47
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
48
|
-
|
|
49
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
50
|
-
|
|
51
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
52
|
-
|
|
53
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
54
|
-
|
|
55
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
56
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
57
|
-
*/
|
|
58
|
-
@send
|
|
59
|
-
external addEventListener2: (
|
|
60
|
-
webSocket,
|
|
61
|
-
~type_: eventType,
|
|
62
|
-
~callback: eventListener<'event>,
|
|
63
|
-
~options: bool=?,
|
|
64
|
-
) => unit = "addEventListener"
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
68
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
69
|
-
*/
|
|
70
|
-
@send
|
|
71
|
-
external removeEventListener: (
|
|
72
|
-
webSocket,
|
|
73
|
-
~type_: eventType,
|
|
74
|
-
~callback: eventListener<'event>,
|
|
75
|
-
~options: eventListenerOptions=?,
|
|
76
|
-
) => unit = "removeEventListener"
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
80
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
81
|
-
*/
|
|
82
|
-
@send
|
|
83
|
-
external removeEventListener2: (
|
|
84
|
-
webSocket,
|
|
85
|
-
~type_: eventType,
|
|
86
|
-
~callback: eventListener<'event>,
|
|
87
|
-
~options: bool=?,
|
|
88
|
-
) => unit = "removeEventListener"
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
|
92
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
|
93
|
-
*/
|
|
94
|
-
@send
|
|
95
|
-
external dispatchEvent: (webSocket, event) => bool = "dispatchEvent"
|
|
17
|
+
include EventTarget.Impl({
|
|
18
|
+
type t = webSocket
|
|
19
|
+
})
|
|
96
20
|
|
|
97
21
|
/**
|
|
98
22
|
Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.
|
|
@@ -1,85 +1,9 @@
|
|
|
1
1
|
open EventAPI
|
|
2
2
|
open WebSpeechAPI
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
9
|
-
|
|
10
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
11
|
-
|
|
12
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
13
|
-
|
|
14
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
15
|
-
|
|
16
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
17
|
-
|
|
18
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
19
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
20
|
-
*/
|
|
21
|
-
@send
|
|
22
|
-
external addEventListener: (
|
|
23
|
-
speechSynthesis,
|
|
24
|
-
~type_: eventType,
|
|
25
|
-
~callback: eventListener<'event>,
|
|
26
|
-
~options: addEventListenerOptions=?,
|
|
27
|
-
) => unit = "addEventListener"
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
|
|
31
|
-
|
|
32
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
33
|
-
|
|
34
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
35
|
-
|
|
36
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
37
|
-
|
|
38
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
39
|
-
|
|
40
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
41
|
-
|
|
42
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
43
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
44
|
-
*/
|
|
45
|
-
@send
|
|
46
|
-
external addEventListener2: (
|
|
47
|
-
speechSynthesis,
|
|
48
|
-
~type_: eventType,
|
|
49
|
-
~callback: eventListener<'event>,
|
|
50
|
-
~options: bool=?,
|
|
51
|
-
) => unit = "addEventListener"
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
55
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
56
|
-
*/
|
|
57
|
-
@send
|
|
58
|
-
external removeEventListener: (
|
|
59
|
-
speechSynthesis,
|
|
60
|
-
~type_: eventType,
|
|
61
|
-
~callback: eventListener<'event>,
|
|
62
|
-
~options: eventListenerOptions=?,
|
|
63
|
-
) => unit = "removeEventListener"
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
67
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
68
|
-
*/
|
|
69
|
-
@send
|
|
70
|
-
external removeEventListener2: (
|
|
71
|
-
speechSynthesis,
|
|
72
|
-
~type_: eventType,
|
|
73
|
-
~callback: eventListener<'event>,
|
|
74
|
-
~options: bool=?,
|
|
75
|
-
) => unit = "removeEventListener"
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
|
79
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
|
80
|
-
*/
|
|
81
|
-
@send
|
|
82
|
-
external dispatchEvent: (speechSynthesis, event) => bool = "dispatchEvent"
|
|
4
|
+
include EventTarget.Impl({
|
|
5
|
+
type t = speechSynthesis
|
|
6
|
+
})
|
|
83
7
|
|
|
84
8
|
/**
|
|
85
9
|
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/speak)
|
|
@@ -1,88 +1,11 @@
|
|
|
1
|
-
open EventAPI
|
|
2
1
|
open WebSpeechAPI
|
|
3
2
|
|
|
3
|
+
include EventTarget.Impl({
|
|
4
|
+
type t = speechSynthesisUtterance
|
|
5
|
+
})
|
|
6
|
+
|
|
4
7
|
/**
|
|
5
8
|
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance)
|
|
6
9
|
*/
|
|
7
10
|
@new
|
|
8
11
|
external make: (~text: string=?) => speechSynthesisUtterance = "SpeechSynthesisUtterance"
|
|
9
|
-
|
|
10
|
-
external asEventTarget: speechSynthesisUtterance => eventTarget = "%identity"
|
|
11
|
-
/**
|
|
12
|
-
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
|
|
13
|
-
|
|
14
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
15
|
-
|
|
16
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
17
|
-
|
|
18
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
19
|
-
|
|
20
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
21
|
-
|
|
22
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
23
|
-
|
|
24
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
25
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
26
|
-
*/
|
|
27
|
-
@send
|
|
28
|
-
external addEventListener: (
|
|
29
|
-
speechSynthesisUtterance,
|
|
30
|
-
~type_: eventType,
|
|
31
|
-
~callback: eventListener<'event>,
|
|
32
|
-
~options: addEventListenerOptions=?,
|
|
33
|
-
) => unit = "addEventListener"
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
|
|
37
|
-
|
|
38
|
-
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
39
|
-
|
|
40
|
-
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
41
|
-
|
|
42
|
-
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
43
|
-
|
|
44
|
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
45
|
-
|
|
46
|
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
|
|
47
|
-
|
|
48
|
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
49
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
50
|
-
*/
|
|
51
|
-
@send
|
|
52
|
-
external addEventListener2: (
|
|
53
|
-
speechSynthesisUtterance,
|
|
54
|
-
~type_: eventType,
|
|
55
|
-
~callback: eventListener<'event>,
|
|
56
|
-
~options: bool=?,
|
|
57
|
-
) => unit = "addEventListener"
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
61
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
62
|
-
*/
|
|
63
|
-
@send
|
|
64
|
-
external removeEventListener: (
|
|
65
|
-
speechSynthesisUtterance,
|
|
66
|
-
~type_: eventType,
|
|
67
|
-
~callback: eventListener<'event>,
|
|
68
|
-
~options: eventListenerOptions=?,
|
|
69
|
-
) => unit = "removeEventListener"
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
Removes the event listener in target's event listener list with the same type, callback, and options.
|
|
73
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
74
|
-
*/
|
|
75
|
-
@send
|
|
76
|
-
external removeEventListener2: (
|
|
77
|
-
speechSynthesisUtterance,
|
|
78
|
-
~type_: eventType,
|
|
79
|
-
~callback: eventListener<'event>,
|
|
80
|
-
~options: bool=?,
|
|
81
|
-
) => unit = "removeEventListener"
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
|
85
|
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
|
86
|
-
*/
|
|
87
|
-
@send
|
|
88
|
-
external dispatchEvent: (speechSynthesisUtterance, event) => bool = "dispatchEvent"
|