Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
events,doc: mark CustomEvent as stable
Signed-off-by: Daeyeon Jeong <[email protected]>
  • Loading branch information
daeyeon committed Apr 21, 2024
commit 739552b4862c2c39ade1aedb236cee2748caa326
12 changes: 10 additions & 2 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -2426,9 +2426,13 @@ Removes the `listener` from the list of handlers for event `type`.
added:
- v18.7.0
- v16.17.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/52618
description: CustomEvent is now stable.
-->

> Stability: 1 - Experimental.
> Stability: 2 - Stable

* Extends: {Event}

Expand All @@ -2441,9 +2445,13 @@ Instances are created internally by Node.js.
added:
- v18.7.0
- v16.17.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/52618
description: CustomEvent is now stable.
-->

> Stability: 1 - Experimental.
> Stability: 2 - Stable

* Type: {any} Returns custom data passed when initializing.

Expand Down