Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface XMLHttpRequestEventTarget

Hierarchy

Index

Properties

EventTarget

EventTarget: { constructor: any; prototype: EventTarget }

Type declaration

onabort

onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null

onerror

onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null

onload

onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null

onloadend

onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null

onloadstart

onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null

onprogress

onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null

ontimeout

ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null

Methods

addEventListener

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • 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.

    Parameters

    Returns boolean

removeEventListener

Generated using TypeDoc