Skip to content

Commit 2907848

Browse files
Trotttargos
authored andcommitted
doc: clarify event.isTrusted text
PR-URL: #36827 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 18e5c0f commit 2907848

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/events.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1338,10 +1338,10 @@ This is not used in Node.js and is provided purely for completeness.
13381338
added: v14.5.0
13391339
-->
13401340

1341-
* Type: {boolean} True for Node.js internal events, false otherwise.
1341+
* Type: {boolean}
13421342

1343-
Currently only `AbortSignal`s' `"abort"` event is fired with `isTrusted`
1344-
set to `true`.
1343+
The {AbortSignal} `"abort"` event is emitted with `isTrusted` set to `true`. The
1344+
value is `false` in all other cases.
13451345

13461346
#### `event.preventDefault()`
13471347
<!-- YAML

0 commit comments

Comments
 (0)