events,doc: mark CustomEvent as stable

Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/52618
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Daeyeon Jeong 2024-04-23 16:09:23 +09:00 committed by GitHub
parent a2f3b1df93
commit 9fe0e46807
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}
@ -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.