interface XMLHttpRequestEventTarget
implements EventTarget
import { type XMLHttpRequestEventTarget } from "https://deno.land/x/evt@v2.5.2/lib/types/lib.dom.ts";
Properties
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
Methods
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(): void
type: K,
listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(): void
type: K,
listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any,
options?: boolean | EventListenerOptions,