Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>XMLHttpRequestEventTarget

Advanced Web Composition for Future
Latest
interface XMLHttpRequestEventTarget
implements EventTarget
import { type XMLHttpRequestEventTarget } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.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>(
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