@@ -939,7 +939,7 @@ composed of the emitted event arguments.
939939
940940## ` EventTarget ` and ` Event ` API
941941<!-- YAML
942- added: REPLACEME
942+ added: v14.5.0
943943-->
944944
945945> Stability: 1 - Experimental
@@ -1056,15 +1056,15 @@ The `EventTarget` does not implement any special default handling for
10561056
10571057### Class: ` Event `
10581058<!-- YAML
1059- added: REPLACEME
1059+ added: v14.5.0
10601060-->
10611061
10621062The ` Event ` object is an adaptation of the [ ` Event ` Web API] [ ] . Instances
10631063are created internally by Node.js.
10641064
10651065#### ` event.bubbles `
10661066<!-- YAML
1067- added: REPLACEME
1067+ added: v14.5.0
10681068-->
10691069
10701070* Type: {boolean} Always returns ` false ` .
@@ -1073,22 +1073,22 @@ This is not used in Node.js and is provided purely for completeness.
10731073
10741074#### ` event.cancelBubble() `
10751075<!-- YAML
1076- added: REPLACEME
1076+ added: v14.5.0
10771077-->
10781078
10791079Alias for ` event.stopPropagation() ` . This is not used in Node.js and is
10801080provided purely for completeness.
10811081
10821082#### ` event.cancelable `
10831083<!-- YAML
1084- added: REPLACEME
1084+ added: v14.5.0
10851085-->
10861086
10871087* Type: {boolean} True if the event was created with the ` cancelable ` option.
10881088
10891089#### ` event.composed `
10901090<!-- YAML
1091- added: REPLACEME
1091+ added: v14.5.0
10921092-->
10931093
10941094* Type: {boolean} Always returns ` false ` .
@@ -1097,7 +1097,7 @@ This is not used in Node.js and is provided purely for completeness.
10971097
10981098#### ` event.composedPath() `
10991099<!-- YAML
1100- added: REPLACEME
1100+ added: v14.5.0
11011101-->
11021102
11031103Returns an array containing the current ` EventTarget ` as the only entry or
@@ -1106,7 +1106,7 @@ Node.js and is provided purely for completeness.
11061106
11071107#### ` event.currentTarget `
11081108<!-- YAML
1109- added: REPLACEME
1109+ added: v14.5.0
11101110-->
11111111
11121112* Type: {EventTarget} The ` EventTarget ` dispatching the event.
@@ -1115,7 +1115,7 @@ Alias for `event.target`.
11151115
11161116#### ` event.defaultPrevented `
11171117<!-- YAML
1118- added: REPLACEME
1118+ added: v14.5.0
11191119-->
11201120
11211121* Type: {boolean}
@@ -1125,7 +1125,7 @@ called.
11251125
11261126#### ` event.eventPhase `
11271127<!-- YAML
1128- added: REPLACEME
1128+ added: v14.5.0
11291129-->
11301130
11311131* Type: {number} Returns ` 0 ` while an event is not being dispatched, ` 2 ` while
@@ -1135,7 +1135,7 @@ This is not used in Node.js and is provided purely for completeness.
11351135
11361136#### ` event.isTrusted `
11371137<!-- YAML
1138- added: REPLACEME
1138+ added: v14.5.0
11391139-->
11401140
11411141* Type: {boolean} Always returns ` false ` .
@@ -1144,14 +1144,14 @@ This is not used in Node.js and is provided purely for completeness.
11441144
11451145#### ` event.preventDefault() `
11461146<!-- YAML
1147- added: REPLACEME
1147+ added: v14.5.0
11481148-->
11491149
11501150Sets the ` defaultPrevented ` property to ` true ` if ` cancelable ` is ` true ` .
11511151
11521152#### ` event.returnValue `
11531153<!-- YAML
1154- added: REPLACEME
1154+ added: v14.5.0
11551155-->
11561156
11571157* Type: {boolean} True if the event has not been canceled.
@@ -1160,7 +1160,7 @@ This is not used in Node.js and is provided purely for completeness.
11601160
11611161#### ` event.srcElement `
11621162<!-- YAML
1163- added: REPLACEME
1163+ added: v14.5.0
11641164-->
11651165
11661166* Type: {EventTarget} The ` EventTarget ` dispatching the event.
@@ -1169,28 +1169,28 @@ Alias for `event.target`.
11691169
11701170#### ` event.stopImmediatePropagation() `
11711171<!-- YAML
1172- added: REPLACEME
1172+ added: v14.5.0
11731173-->
11741174
11751175Stops the invocation of event listeners after the current one completes.
11761176
11771177#### ` event.stopPropagation() `
11781178<!-- YAML
1179- added: REPLACEME
1179+ added: v14.5.0
11801180-->
11811181
11821182This is not used in Node.js and is provided purely for completeness.
11831183
11841184#### ` event.target `
11851185<!-- YAML
1186- added: REPLACEME
1186+ added: v14.5.0
11871187-->
11881188
11891189* Type: {EventTarget} The ` EventTarget ` dispatching the event.
11901190
11911191#### ` event.timeStamp `
11921192<!-- YAML
1193- added: REPLACEME
1193+ added: v14.5.0
11941194-->
11951195
11961196* Type: {number}
@@ -1199,7 +1199,7 @@ The millisecond timestamp when the `Event` object was created.
11991199
12001200#### ` event.type `
12011201<!-- YAML
1202- added: REPLACEME
1202+ added: v14.5.0
12031203-->
12041204
12051205* Type: {string}
@@ -1208,12 +1208,12 @@ The event type identifier.
12081208
12091209### Class: ` EventTarget `
12101210<!-- YAML
1211- added: REPLACEME
1211+ added: v14.5.0
12121212-->
12131213
12141214#### ` eventTarget.addEventListener(type, listener[, options]) `
12151215<!-- YAML
1216- added: REPLACEME
1216+ added: v14.5.0
12171217-->
12181218
12191219* ` type ` {string}
@@ -1255,7 +1255,7 @@ target.removeEventListener('foo', handler, { capture: true });
12551255
12561256#### ` eventTarget.dispatchEvent(event) `
12571257<!-- YAML
1258- added: REPLACEME
1258+ added: v14.5.0
12591259-->
12601260
12611261* ` event ` {Object|Event}
@@ -1269,7 +1269,7 @@ were registered.
12691269
12701270#### ` eventTarget.removeEventListener(type, listener) `
12711271<!-- YAML
1272- added: REPLACEME
1272+ added: v14.5.0
12731273-->
12741274
12751275* ` type ` {string}
@@ -1281,7 +1281,7 @@ Removes the `listener` from the list of handlers for event `type`.
12811281
12821282### Class: ` NodeEventTarget `
12831283<!-- YAML
1284- added: REPLACEME
1284+ added: v14.5.0
12851285-->
12861286
12871287* Extends: {EventTarget}
@@ -1291,7 +1291,7 @@ that emulates a subset of the `EventEmitter` API.
12911291
12921292#### ` nodeEventTarget.addListener(type, listener[, options]) `
12931293<!-- YAML
1294- added: REPLACEME
1294+ added: v14.5.0
12951295-->
12961296
12971297* ` type ` {string}
@@ -1308,7 +1308,7 @@ equivalent `EventEmitter` API. The only difference between `addListener()` and
13081308
13091309#### ` nodeEventTarget.eventNames() `
13101310<!-- YAML
1311- added: REPLACEME
1311+ added: v14.5.0
13121312-->
13131313
13141314* Returns: {string[ ] }
@@ -1318,7 +1318,7 @@ of event `type` names for which event listeners are registered.
13181318
13191319#### ` nodeEventTarget.listenerCount(type) `
13201320<!-- YAML
1321- added: REPLACEME
1321+ added: v14.5.0
13221322-->
13231323
13241324* ` type ` {string}
@@ -1330,7 +1330,7 @@ of event listeners registered for the `type`.
13301330
13311331#### ` nodeEventTarget.off(type, listener) `
13321332<!-- YAML
1333- added: REPLACEME
1333+ added: v14.5.0
13341334-->
13351335
13361336* ` type ` {string}
@@ -1342,7 +1342,7 @@ Node.js-speciic alias for `eventTarget.removeListener()`.
13421342
13431343#### ` nodeEventTarget.on(type, listener[, options]) `
13441344<!-- YAML
1345- added: REPLACEME
1345+ added: v14.5.0
13461346-->
13471347
13481348* ` type ` {string}
@@ -1356,7 +1356,7 @@ Node.js-specific alias for `eventTarget.addListener()`.
13561356
13571357#### ` nodeEventTarget.once(type, listener[, options]) `
13581358<!-- YAML
1359- added: REPLACEME
1359+ added: v14.5.0
13601360-->
13611361
13621362* ` type ` {string}
@@ -1371,7 +1371,7 @@ with the `once` option set to `true`.
13711371
13721372#### ` nodeEventTarget.removeAllListeners([type]) `
13731373<!-- YAML
1374- added: REPLACEME
1374+ added: v14.5.0
13751375-->
13761376
13771377* ` type ` {string}
@@ -1382,7 +1382,7 @@ listeners.
13821382
13831383#### ` nodeEventTarget.removeListener(type, listener) `
13841384<!-- YAML
1385- added: REPLACEME
1385+ added: v14.5.0
13861386-->
13871387
13881388* ` type ` {string}
0 commit comments