You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** This is not used in Node.js and is provided purely for completeness. */
14
-
readonlybubbles: boolean;
15
-
/** Alias for event.stopPropagation(). This is not used in Node.js and is provided purely for completeness. */
16
-
cancelBubble: ()=>void;
17
-
/** True if the event was created with the cancelable option */
18
-
readonlycancelable: boolean;
19
-
/** This is not used in Node.js and is provided purely for completeness. */
20
-
readonlycomposed: boolean;
21
-
/** Returns an array containing the current EventTarget as the only entry or empty if the event is not being dispatched. This is not used in Node.js and is provided purely for completeness. */
22
-
composedPath(): [EventTarget?];
23
-
/** Alias for event.target. */
24
-
readonlycurrentTarget: EventTarget|null;
25
-
/** Is true if cancelable is true and event.preventDefault() has been called. */
26
-
readonlydefaultPrevented: boolean;
27
-
/** This is not used in Node.js and is provided purely for completeness. */
28
-
readonlyeventPhase: 0|2;
29
-
/** The `AbortSignal` "abort" event is emitted with `isTrusted` set to `true`. The value is `false` in all other cases. */
30
-
readonlyisTrusted: boolean;
31
-
/** Sets the `defaultPrevented` property to `true` if `cancelable` is `true`. */
32
-
preventDefault(): void;
33
-
/** This is not used in Node.js and is provided purely for completeness. */
34
-
returnValue: boolean;
35
-
/** Alias for event.target. */
36
-
readonlysrcElement: EventTarget|null;
37
-
/** Stops the invocation of event listeners after the current one completes. */
38
-
stopImmediatePropagation(): void;
39
-
/** This is not used in Node.js and is provided purely for completeness. */
40
-
stopPropagation(): void;
41
-
/** The `EventTarget` dispatching the event */
42
-
readonlytarget: EventTarget|null;
43
-
/** The millisecond timestamp when the Event object was created. */
44
-
readonlytimeStamp: number;
45
-
/** Returns the type of event, e.g. "click", "hashchange", or "submit". */
* Adds a new handler for the `type` event. Any given `listener` is added only once per `type` and per `capture` option value.
54
-
*
55
-
* If the `once` option is true, the `listener` is removed after the next time a `type` event is dispatched.
56
-
*
57
-
* The `capture` option is not used by Node.js in any functional way other than tracking registered event listeners per the `EventTarget` specification.
58
-
* Specifically, the `capture` option is used as part of the key when registering a `listener`.
59
-
* Any individual `listener` may be added once with `capture = false`, and once with `capture = true`.
60
-
*/
61
-
addEventListener(
62
-
type: string,
63
-
listener: EventListener|EventListenerObject,
64
-
options?: AddEventListenerOptions|boolean,
65
-
): void;
66
-
/** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */
67
-
dispatchEvent(event: Event): boolean;
68
-
/** Removes the event listener in target's event listener list with the same type, callback, and options. */
0 commit comments