doc: clarify event.isTrusted text

PR-URL: https://github.com/nodejs/node/pull/36827
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Rich Trott authored and Michaël Zasso committed 2021-06-11 09:29:55 +02:00
1 parent 18e5c0f3e2
commit 2907848fc9
1 file changed
+3 -3
+3 -3
View File
@@ -1338,10 +1338,10 @@ This is not used in Node.js and is provided purely for completeness.
added: v14.5.0
-->
* Type: {boolean} True for Node.js internal events, false otherwise.
* Type: {boolean}
Currently only `AbortSignal`s' `"abort"` event is fired with `isTrusted`
set to `true`.
The {AbortSignal} `"abort"` event is emitted with `isTrusted` set to `true`. The
value is `false` in all other cases.
#### `event.preventDefault()`
<!-- YAML