Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 76408bc

Browse filesBrowse files
deokjinkimRafaelGSS
authored andcommitted
doc: fix event.cancelBubble documentation
Setter of `event.cancelBubble` is a no-op if the value passed to it is not `true`. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: #45986 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 82023f2 commit 76408bc
Copy full SHA for 76408bc

File tree

Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/events.md‎

Copy file name to clipboardExpand all lines: doc/api/events.md
+5-3Lines changed: 5 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1748,14 +1748,16 @@ added: v14.5.0
17481748

17491749
This is not used in Node.js and is provided purely for completeness.
17501750

1751-
#### `event.cancelBubble()`
1751+
#### `event.cancelBubble`
17521752

17531753
<!-- YAML
17541754
added: v14.5.0
17551755
-->
17561756

1757-
Alias for `event.stopPropagation()`. This is not used in Node.js and is
1758-
provided purely for completeness.
1757+
* Type: {boolean}
1758+
1759+
Alias for `event.stopPropagation()` if set to `true`. This is not used
1760+
in Node.js and is provided purely for completeness.
17591761

17601762
#### `event.cancelable`
17611763

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.