HttpRequestEventTarget class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- HttpRequestEventTarget
- Implemented by
- Annotations
- @DocsEditable()
- @DomName('XMLHttpRequestEventTarget')
- @Experimental()
Constants
- abortEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.abortEvent'), @Experimental()
-
Static factory designed to expose
abort
events to event handlers that are not necessarily instances of HttpRequestEventTarget.const EventStreamProvider<ProgressEvent>
('abort') - errorEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.errorEvent'), @Experimental()
-
Static factory designed to expose
error
events to event handlers that are not necessarily instances of HttpRequestEventTarget.const EventStreamProvider<ProgressEvent>
('error') - loadEndEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.loadendEvent'), @Experimental()
-
Static factory designed to expose
loadend
events to event handlers that are not necessarily instances of HttpRequestEventTarget.const EventStreamProvider<ProgressEvent>
('loadend') - loadEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.loadEvent'), @Experimental()
-
Static factory designed to expose
load
events to event handlers that are not necessarily instances of HttpRequestEventTarget.const EventStreamProvider<ProgressEvent>
('load') - loadStartEvent → EventStreamProvider<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') - progressEvent → EventStreamProvider<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') - timeoutEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.timeoutEvent'), @Experimental()
-
Static factory designed to expose
timeout
events to event handlers that are not necessarily instances of HttpRequestEventTarget.const EventStreamProvider<ProgressEvent>
('timeout')
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
Properties
- onAbort → Stream<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.onabort'), @Experimental(), read-only
-
Stream of
abort
events handled by thisHttpRequestEventTarget
. - onError → Stream<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.onerror'), @Experimental(), read-only
-
Stream of
error
events handled by thisHttpRequestEventTarget
. - onLoad → Stream<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.onload'), @Experimental(), read-only
-
Stream of
load
events handled by thisHttpRequestEventTarget
. - onLoadEnd → Stream<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 thisHttpRequestEventTarget
. - onLoadStart → Stream<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.onloadstart'), @Experimental(), read-only
-
Stream of
loadstart
events handled by thisHttpRequestEventTarget
. - onProgress → Stream<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 thisHttpRequestEventTarget
. - onTimeout → Stream<ProgressEvent> @DocsEditable(), @DomName('XMLHttpRequestEventTarget.ontimeout'), @Experimental(), read-only
-
Stream of
timeout
events handled by thisHttpRequestEventTarget
. - hashCode → int read-only, inherited
- 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.
- runtimeType → Type 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