Skip to content

Commit fa88cdb

Browse files
committed
add event.initEvent to doc
1 parent f5974f6 commit fa88cdb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/api/events.md

+15
Original file line numberDiff line numberDiff line change
@@ -1817,6 +1817,21 @@ added: v14.5.0
18171817

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

1820+
#### `event.initEvent(type[, bubbles, cancelable])`
1821+
1822+
<!-- YAML
1823+
added: REPLACEME
1824+
-->
1825+
1826+
> Stability: 3 - Legacy
1827+
1828+
* `type` {string}
1829+
* `bubbles` {boolean}
1830+
* `cancelable` {boolean}
1831+
1832+
Redundant with event constructors and incapable of setting `composed`.
1833+
This is not used in Node.js and is provided purely for completeness.
1834+
18201835
#### `event.isTrusted`
18211836

18221837
<!-- YAML

0 commit comments

Comments
 (0)