Skip to content

Commit

Permalink
events: change status of event.cancelBubble to legacy
Browse files Browse the repository at this point in the history
`event.cancelBubble` is described as legacy in spec.

Refs: https://dom.spec.whatwg.org/#interface-event
PR-URL: #46146
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
deokjinkim authored and juanarbol committed Jan 31, 2023
1 parent d0f905b commit d088d6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/events.md
Expand Up @@ -1754,6 +1754,8 @@ This is not used in Node.js and is provided purely for completeness.
added: v14.5.0
-->

> Stability: 3 - Legacy: Use [`event.stopPropagation()`][] instead.
* Type: {boolean}

Alias for `event.stopPropagation()` if set to `true`. This is not used
Expand Down Expand Up @@ -2162,6 +2164,7 @@ to the `EventTarget`.
[`emitter.listenerCount()`]: #emitterlistenercounteventname
[`emitter.removeListener()`]: #emitterremovelistenereventname-listener
[`emitter.setMaxListeners(n)`]: #emittersetmaxlistenersn
[`event.stopPropagation()`]: #eventstoppropagation
[`event.target`]: #eventtarget
[`events.defaultMaxListeners`]: #eventsdefaultmaxlisteners
[`fs.ReadStream`]: fs.md#class-fsreadstream
Expand Down

0 comments on commit d088d6e

Please sign in to comment.