FileReader class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- FileReader
- Annotations
- @DocsEditable()
- @DomName('FileReader')
Constants
- abortEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileReader.abortEvent')
-
Static factory designed to expose
abort
events to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>
('abort') - DONE → int @DocsEditable(), @DomName('FileReader.DONE')
-
2
- EMPTY → int @DocsEditable(), @DomName('FileReader.EMPTY')
-
0
- errorEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('FileReader.errorEvent')
-
Static factory designed to expose
error
events to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<Event>
('error') - loadEndEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileReader.loadendEvent')
-
Static factory designed to expose
loadend
events to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>
('loadend') - loadEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileReader.loadEvent')
-
Static factory designed to expose
load
events to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>
('load') - LOADING → int @DocsEditable(), @DomName('FileReader.LOADING')
-
1
- loadStartEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileReader.loadstartEvent')
-
Static factory designed to expose
loadstart
events to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>
('loadstart') - progressEvent → EventStreamProvider<ProgressEvent> @DocsEditable(), @DomName('FileReader.progressEvent')
-
Static factory designed to expose
progress
events to event handlers that are not necessarily instances of FileReader.const EventStreamProvider<ProgressEvent>
('progress')
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
- FileReader() factory
- FileReader.internal_()
Properties
- error → FileError @DocsEditable(), @DomName('FileReader.error'), read-only
- onAbort → Stream<ProgressEvent> @DocsEditable(), @DomName('FileReader.onabort'), read-only
-
Stream of
abort
events handled by thisFileReader
. - onError → Stream<Event> @DocsEditable(), @DomName('FileReader.onerror'), read-only
-
Stream of
error
events handled by thisFileReader
. - onLoad → Stream<ProgressEvent> @DocsEditable(), @DomName('FileReader.onload'), read-only
-
Stream of
load
events handled by thisFileReader
. - onLoadEnd → Stream<ProgressEvent> @DocsEditable(), @DomName('FileReader.onloadend'), read-only
-
Stream of
loadend
events handled by thisFileReader
. - onLoadStart → Stream<ProgressEvent> @DocsEditable(), @DomName('FileReader.onloadstart'), read-only
-
Stream of
loadstart
events handled by thisFileReader
. - onProgress → Stream<ProgressEvent> @DocsEditable(), @DomName('FileReader.onprogress'), read-only
-
Stream of
progress
events handled by thisFileReader
. - readyState → int @DocsEditable(), @DomName('FileReader.readyState'), read-only
- result → Object @DocsEditable(), @DomName('FileReader.result'), read-only
- 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
- abort(
) → void @DocsEditable(), @DomName('FileReader.abort') - readAsArrayBuffer(
Blob blob) → void @DocsEditable(), @DomName('FileReader.readAsArrayBuffer') - readAsDataUrl(
Blob blob) → void @DocsEditable(), @DomName('FileReader.readAsDataURL') - readAsText(
Blob blob, [ String label ]) → void - 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/FileReader-class.html