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
Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
8
10
@@ -64,182 +66,6 @@ Removes node.
64
66
@send
65
67
externalremove: characterData=>unit="remove"
66
68
67
-
/**
68
-
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.
69
-
70
-
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.
71
-
72
-
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.
73
-
74
-
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.
75
-
76
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
77
-
78
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
79
-
80
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
81
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
82
-
*/
83
-
@send
84
-
externaladdEventListener: (
85
-
characterData,
86
-
~type_: eventType,
87
-
~callback: eventListener<'event>,
88
-
~options: addEventListenerOptions=?,
89
-
) =>unit="addEventListener"
90
-
91
-
/**
92
-
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.
93
-
94
-
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.
95
-
96
-
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.
97
-
98
-
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.
99
-
100
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
101
-
102
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
103
-
104
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
105
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
106
-
*/
107
-
@send
108
-
externaladdEventListener2: (
109
-
characterData,
110
-
~type_: eventType,
111
-
~callback: eventListener<'event>,
112
-
~options: bool=?,
113
-
) =>unit="addEventListener"
114
-
115
-
/**
116
-
Removes the event listener in target's event listener list with the same type, callback, and options.
117
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
118
-
*/
119
-
@send
120
-
externalremoveEventListener: (
121
-
characterData,
122
-
~type_: eventType,
123
-
~callback: eventListener<'event>,
124
-
~options: eventListenerOptions=?,
125
-
) =>unit="removeEventListener"
126
-
127
-
/**
128
-
Removes the event listener in target's event listener list with the same type, callback, and options.
129
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
130
-
*/
131
-
@send
132
-
externalremoveEventListener2: (
133
-
characterData,
134
-
~type_: eventType,
135
-
~callback: eventListener<'event>,
136
-
~options: bool=?,
137
-
) =>unit="removeEventListener"
138
-
139
-
/**
140
-
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.
141
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
Returns the first element within node's descendants whose ID is elementId.
15
17
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/getElementById)
@@ -114,182 +116,6 @@ external evaluate: (
114
116
~result: xPathResult=?,
115
117
) =>xPathResult="evaluate"
116
118
117
-
/**
118
-
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.
119
-
120
-
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.
121
-
122
-
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.
123
-
124
-
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.
125
-
126
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
127
-
128
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
129
-
130
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
131
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
132
-
*/
133
-
@send
134
-
externaladdEventListener: (
135
-
document,
136
-
~type_: eventType,
137
-
~callback: eventListener<'event>,
138
-
~options: addEventListenerOptions=?,
139
-
) =>unit="addEventListener"
140
-
141
-
/**
142
-
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.
143
-
144
-
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.
145
-
146
-
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.
147
-
148
-
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.
149
-
150
-
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
151
-
152
-
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
153
-
154
-
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
155
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
156
-
*/
157
-
@send
158
-
externaladdEventListener2: (
159
-
document,
160
-
~type_: eventType,
161
-
~callback: eventListener<'event>,
162
-
~options: bool=?,
163
-
) =>unit="addEventListener"
164
-
165
-
/**
166
-
Removes the event listener in target's event listener list with the same type, callback, and options.
167
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
168
-
*/
169
-
@send
170
-
externalremoveEventListener: (
171
-
document,
172
-
~type_: eventType,
173
-
~callback: eventListener<'event>,
174
-
~options: eventListenerOptions=?,
175
-
) =>unit="removeEventListener"
176
-
177
-
/**
178
-
Removes the event listener in target's event listener list with the same type, callback, and options.
179
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
180
-
*/
181
-
@send
182
-
externalremoveEventListener2: (
183
-
document,
184
-
~type_: eventType,
185
-
~callback: eventListener<'event>,
186
-
~options: bool=?,
187
-
) =>unit="removeEventListener"
188
-
189
-
/**
190
-
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.
191
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
0 commit comments