Not documented.

Inheritance
Implemented by
Annotations
  • DocsEditable()
  • DomName('XMLHttpRequestEventTarget')
  • Experimental()

Constants

EventStreamProvider<ProgressEvent> abortEvent = const EventStreamProvider<ProgressEvent>('abort')
const

Static factory designed to expose abort events to event handlers that are not necessarily instances of HttpRequestEventTarget.

EventStreamProvider<ProgressEvent> errorEvent = const EventStreamProvider<ProgressEvent>('error')
const

Static factory designed to expose error events to event handlers that are not necessarily instances of HttpRequestEventTarget.

EventStreamProvider<ProgressEvent> loadEndEvent = const EventStreamProvider<ProgressEvent>('loadend')
const

Static factory designed to expose loadend events to event handlers that are not necessarily instances of HttpRequestEventTarget.

EventStreamProvider<ProgressEvent> loadEvent = const EventStreamProvider<ProgressEvent>('load')
const

Static factory designed to expose load events to event handlers that are not necessarily instances of HttpRequestEventTarget.

EventStreamProvider<ProgressEvent> loadStartEvent = const EventStreamProvider<ProgressEvent>('loadstart')
const

Static factory designed to expose loadstart events to event handlers that are not necessarily instances of HttpRequestEventTarget.

EventStreamProvider<ProgressEvent> progressEvent = const EventStreamProvider<ProgressEvent>('progress')
const

Static factory designed to expose progress events to event handlers that are not necessarily instances of HttpRequestEventTarget.

EventStreamProvider<ProgressEvent> timeoutEvent = const EventStreamProvider<ProgressEvent>('timeout')
const

Static factory designed to expose timeout events to event handlers that are not necessarily instances of HttpRequestEventTarget.

Properties

on Events
read-only, inherited

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

onAbort Stream<ProgressEvent>
read-only

Stream of abort events handled by this HttpRequestEventTarget.

onError Stream<ProgressEvent>
read-only

Stream of error events handled by this HttpRequestEventTarget.

onLoad Stream<ProgressEvent>
read-only

Stream of load events handled by this HttpRequestEventTarget.

onLoadEnd Stream<ProgressEvent>
read-only

Stream of loadend events handled by this HttpRequestEventTarget.

onLoadStart Stream<ProgressEvent>
read-only

Stream of loadstart events handled by this HttpRequestEventTarget.

onProgress Stream<ProgressEvent>
read-only

Stream of progress events handled by this HttpRequestEventTarget.

onTimeout Stream<ProgressEvent>
read-only

Stream of timeout events handled by this HttpRequestEventTarget.

Methods

addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

dispatchEvent(Event event) → bool
inherited

removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited