Skip to content

Commit

Permalink
doc: clarify event.isTrusted text
Browse files Browse the repository at this point in the history
PR-URL: #36827
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and targos committed Jun 11, 2021
1 parent 18e5c0f commit 2907848
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/events.md
Expand Up @@ -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
Expand Down

0 comments on commit 2907848

Please sign in to comment.