mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
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:
1 parent
18e5c0f3e2
commit
2907848fc9
1 file changed
+3
-3
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user