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 danielleadams committed Jan 12, 2021
1 parent abae61e commit e8bb1f7
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 @@ -1344,10 +1344,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 e8bb1f7

Please sign in to comment.