mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
docs(event): fixlets to code comments (#20944)
This commit is contained in:
parent
9f9c3d9048
commit
9df36b33c6
3 changed files with 6 additions and 6 deletions
4
cli/tsc/dts/lib.dom.d.ts
vendored
4
cli/tsc/dts/lib.dom.d.ts
vendored
|
@ -8209,7 +8209,7 @@ interface EventTarget {
|
|||
*/
|
||||
addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
||||
/**
|
||||
* 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.
|
||||
* Dispatches a synthetic event to event target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
||||
*
|
||||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
||||
*/
|
||||
|
@ -27428,7 +27428,7 @@ declare function scrollTo(x: number, y: number): void;
|
|||
declare function stop(): void;
|
||||
declare function toString(): string;
|
||||
/**
|
||||
* 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.
|
||||
* Dispatches a synthetic event to event target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
||||
*
|
||||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
||||
*/
|
||||
|
|
6
cli/tsc/dts/lib.webworker.d.ts
vendored
6
cli/tsc/dts/lib.webworker.d.ts
vendored
|
@ -2628,7 +2628,7 @@ interface EventTarget {
|
|||
*/
|
||||
addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
||||
/**
|
||||
* 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.
|
||||
* Dispatches a synthetic event to target event and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
||||
*
|
||||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
||||
*/
|
||||
|
@ -9098,7 +9098,7 @@ declare function close(): void;
|
|||
declare function postMessage(message: any, transfer: Transferable[]): void;
|
||||
declare function postMessage(message: any, options?: StructuredSerializeOptions): void;
|
||||
/**
|
||||
* 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.
|
||||
* Dispatches a synthetic event to event target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
||||
*
|
||||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
||||
*/
|
||||
|
@ -9138,7 +9138,7 @@ declare var self: WorkerGlobalScope & typeof globalThis;
|
|||
*/
|
||||
declare function importScripts(...urls: (string | URL)[]): void;
|
||||
/**
|
||||
* 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.
|
||||
* Dispatches a synthetic event to event target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
||||
*
|
||||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
||||
*/
|
||||
|
|
2
ext/web/lib.deno_web.d.ts
vendored
2
ext/web/lib.deno_web.d.ts
vendored
|
@ -184,7 +184,7 @@ declare interface EventTarget {
|
|||
listener: EventListenerOrEventListenerObject | null,
|
||||
options?: boolean | AddEventListenerOptions,
|
||||
): void;
|
||||
/** Dispatches a synthetic event event to target and returns true if either
|
||||
/** Dispatches a synthetic event to event target and returns true if either
|
||||
* event's cancelable attribute value is false or its preventDefault() method
|
||||
* was not invoked, and false otherwise. */
|
||||
dispatchEvent(event: Event): boolean;
|
||||
|
|
Loading…
Reference in a new issue