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 May 25, 2021
1 parent e295fd0 commit 647e65c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/events.md
Original file line number Diff line number Diff line change
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 647e65c

Please sign in to comment.