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
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.
16
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/composedPath)
16
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/composedPath)
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.
23
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/preventDefault)
23
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
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.
30
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/stopImmediatePropagation)
30
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
[See WebApiEvent on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent)
123
+
[See WebApiEvent on MDN](https://developer.mozilla.org/docs/Web/API/Event)
124
124
*/
125
125
@editor.completeFrom(WebApiEvent)
126
126
typeevent=private {
127
127
/**
128
128
Returns the type of event, e.g. "click", "hashchange", or "submit".
129
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/type)
129
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/type)
130
130
*/
131
131
@as("type")
132
132
type_: eventType,
133
133
/**
134
134
Returns the object to which event is dispatched (its target).
135
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/target)
135
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/target)
136
136
*/
137
137
target: Null.t<eventTarget>,
138
138
/**
139
139
Returns the object whose event listener's callback is currently being invoked.
140
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/currentTarget)
140
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/currentTarget)
141
141
*/
142
142
currentTarget: Null.t<eventTarget>,
143
143
/**
144
144
Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.
145
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/eventPhase)
145
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
146
146
*/
147
147
eventPhase: int,
148
148
/**
149
149
Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.
150
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/bubbles)
150
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/bubbles)
151
151
*/
152
152
bubbles: bool,
153
153
/**
154
154
Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.
155
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/cancelable)
155
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/cancelable)
156
156
*/
157
157
cancelable: bool,
158
158
/**
159
159
Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
160
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/defaultPrevented)
160
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented)
161
161
*/
162
162
defaultPrevented: bool,
163
163
/**
164
164
Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.
165
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/composed)
165
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/composed)
166
166
*/
167
167
composed: bool,
168
168
/**
169
169
Returns true if event was dispatched by the user agent, and false otherwise.
170
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/isTrusted)
170
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
171
171
*/
172
172
isTrusted: bool,
173
173
/**
174
174
Returns the event's timestamp as the number of milliseconds measured relative to the time origin.
175
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiEvent/timeStamp)
175
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Event/timeStamp)
Copy file name to clipboardExpand all lines: packages/Gamepad/src/Types.res
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -39,39 +39,39 @@ type gamepadHapticActuator = private {}
39
39
40
40
/**
41
41
This WebApiGamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.
42
-
[See WebApiGamepad on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGamepad)
42
+
[See WebApiGamepad on MDN](https://developer.mozilla.org/docs/Web/API/Gamepad)
43
43
*/
44
44
typegamepad= {
45
45
/**
46
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGamepad/id)
46
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Gamepad/id)
47
47
*/
48
48
id: string,
49
49
/**
50
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGamepad/index)
50
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Gamepad/index)
51
51
*/
52
52
index: int,
53
53
/**
54
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGamepad/connected)
54
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Gamepad/connected)
55
55
*/
56
56
connected: bool,
57
57
/**
58
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGamepad/timestamp)
58
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp)
59
59
*/
60
60
timestamp: float,
61
61
/**
62
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGamepad/mapping)
62
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Gamepad/mapping)
63
63
*/
64
64
mapping: gamepadMappingType,
65
65
/**
66
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGamepad/axes)
66
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Gamepad/axes)
67
67
*/
68
68
axes: array<float>,
69
69
/**
70
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGamepad/buttons)
70
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Gamepad/buttons)
71
71
*/
72
72
buttons: array<gamepadButton>,
73
73
/**
74
-
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGamepad/vibrationActuator)
74
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator)
Copy file name to clipboardExpand all lines: packages/Geolocation/src/Types.res
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
@@warning("-30")
2
2
/**
3
3
An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location.
4
-
[See WebApiGeolocation on MDN](https://developer.mozilla.org/docs/Web/API/WebApiGeolocation)
4
+
[See WebApiGeolocation on MDN](https://developer.mozilla.org/docs/Web/API/Geolocation)
0 commit comments