Skip to content

Commit

Permalink
add event.initEvent to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
deokjinkim committed Jan 9, 2023
1 parent f5974f6 commit fa88cdb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1817,6 +1817,21 @@ added: v14.5.0

This is not used in Node.js and is provided purely for completeness.

#### `event.initEvent(type[, bubbles, cancelable])`

<!-- YAML
added: REPLACEME
-->

> Stability: 3 - Legacy
* `type` {string}
* `bubbles` {boolean}
* `cancelable` {boolean}

Redundant with event constructors and incapable of setting `composed`.
This is not used in Node.js and is provided purely for completeness.

#### `event.isTrusted`

<!-- YAML
Expand Down

0 comments on commit fa88cdb

Please sign in to comment.