Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

XMLHttpRequestEventTarget

interface XMLHttpRequestEventTarget extends EventTarget {
onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(
type: K,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(
type: K,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var XMLHttpRequestEventTarget: {};

§Extends

§Properties

§
onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null
[src]
§
onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null
[src]
§
onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null
[src]
§
onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null
[src]
§
onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null
[src]
§
onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null
[src]
§
ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null
[src]

§Methods

§
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(
type: K,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(
type: K,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]