W3cubDocs

/Dart 2

HttpRequestEventTarget class

Inheritance
Implementers
Annotations
  • @Native("XMLHttpRequestEventTarget")

Properties

onAbortStream<ProgressEvent>
read-only
Stream of abort events handled by this HttpRequestEventTarget.
onErrorStream<ProgressEvent>
read-only
Stream of error events handled by this HttpRequestEventTarget.
onLoadStream<ProgressEvent>
read-only
Stream of load events handled by this HttpRequestEventTarget.
onLoadEndStream<ProgressEvent>
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10'), @SupportedBrowser(SupportedBrowser.SAFARI), read-only
Stream of loadend events handled by this HttpRequestEventTarget.
onLoadStartStream<ProgressEvent>
read-only
Stream of loadstart events handled by this HttpRequestEventTarget.
onProgressStream<ProgressEvent>
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10'), @SupportedBrowser(SupportedBrowser.SAFARI), read-only
Stream of progress events handled by this HttpRequestEventTarget.
onTimeoutStream<ProgressEvent>
read-only
Stream of timeout events handled by this HttpRequestEventTarget.
hashCodeint
read-only, inherited
The hash code for this object. [...]
onEvents
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.
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
dispatchEvent(Event event) → bool
inherited
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

Constants

abortEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose abort events to event handlers that are not necessarily instances of HttpRequestEventTarget. [...]
const EventStreamProvider<ProgressEvent>('abort')
errorEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose error events to event handlers that are not necessarily instances of HttpRequestEventTarget. [...]
const EventStreamProvider<ProgressEvent>('error')
loadEndEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose loadend events to event handlers that are not necessarily instances of HttpRequestEventTarget. [...]
const EventStreamProvider<ProgressEvent>('loadend')
loadEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose load events to event handlers that are not necessarily instances of HttpRequestEventTarget. [...]
const EventStreamProvider<ProgressEvent>('load')
loadStartEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose loadstart events to event handlers that are not necessarily instances of HttpRequestEventTarget. [...]
const EventStreamProvider<ProgressEvent>('loadstart')
progressEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose progress events to event handlers that are not necessarily instances of HttpRequestEventTarget. [...]
const EventStreamProvider<ProgressEvent>('progress')
timeoutEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose timeout events to event handlers that are not necessarily instances of HttpRequestEventTarget. [...]
const EventStreamProvider<ProgressEvent>('timeout')

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/HttpRequestEventTarget-class.html