diff --git a/doc/api/events.md b/doc/api/events.md index 93086ca36807fc..6307dcb3208786 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -1819,6 +1819,22 @@ added: v14.5.0 This is not used in Node.js and is provided purely for completeness. +#### `event.initEvent(type[, bubbles[, cancelable]])` + + + +> Stability: 3 - Legacy: The WHATWG spec considers it deprecated and users +> shouldn't use it at all. + +* `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`