HttpRequestEventTarget class

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

Constants

abortEventEventStreamProvider<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.abortEvent'), @Experimental()

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

errorEventEventStreamProvider<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.errorEvent'), @Experimental()

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

loadEndEventEventStreamProvider<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.loadendEvent'), @Experimental()

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

loadEventEventStreamProvider<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.loadEvent'), @Experimental()

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

loadStartEventEventStreamProvider<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.loadstartEvent'), @Experimental()

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

const EventStreamProvider<ProgressEvent>('loadstart')
progressEventEventStreamProvider<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.progressEvent'), @Experimental()

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

const EventStreamProvider<ProgressEvent>('progress')
timeoutEventEventStreamProvider<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.timeoutEvent'), @Experimental()

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

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

HttpRequestEventTarget.internal_()

Properties

onAbortStream<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.onabort'), @Experimental(), read-only

Stream of abort events handled by this HttpRequestEventTarget.

onErrorStream<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.onerror'), @Experimental(), read-only

Stream of error events handled by this HttpRequestEventTarget.

onLoadStream<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.onload'), @Experimental(), read-only

Stream of load events handled by this HttpRequestEventTarget.

onLoadEndStream<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.onloadend'), @Experimental(), @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>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.onloadstart'), @Experimental(), read-only

Stream of loadstart events handled by this HttpRequestEventTarget.

onProgressStream<ProgressEvent>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.onprogress'), @Experimental(), @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>
@DocsEditable(), @DomName('XMLHttpRequestEventTarget.ontimeout'), @Experimental(), read-only

Stream of timeout events handled by this HttpRequestEventTarget.

hashCodeint
read-only, inherited
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.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
dispatchEvent(Event event) → bool
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), 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 the result of the JavaScript objects toString method.

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