Spec-Zone.ru › Dart 2

dart:html

FileReader class

Inheritance
  • Object
  • EventTarget
  • FileReader
Annotations
  • @Native("FileReader")

Constructors

FileReader()
factory

Properties

error → DomException?
read-only
hashCode → int
read-onlyinherited
The hash code for this object.
on → Events
read-onlyinherited
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 FileReader.
onError → Stream<ProgressEvent>
read-only
Stream of error events handled by this FileReader.
onLoad → Stream<ProgressEvent>
read-only
Stream of load events handled by this FileReader.
onLoadEnd → Stream<ProgressEvent>
read-only
Stream of loadend events handled by this FileReader.
onLoadStart → Stream<ProgressEvent>
read-only
Stream of loadstart events handled by this FileReader.
onProgress → Stream<ProgressEvent>
read-only
Stream of progress events handled by this FileReader.
readyState → int
read-only
result → Object?
read-only
runtimeType → Type
read-onlyinherited
A representation of the runtime type of the object.

Methods

abort() → void
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.
readAsArrayBuffer(Blob blob) → void
readAsDataUrl(Blob blob) → void
readAsText(Blob blob, [String? label]) → void
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
toString() → String
inherited
A string representation of this object.

Operators

operator ==(Object 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 FileReader.
const EventStreamProvider<ProgressEvent>('abort')
DONE → const int
2
EMPTY → const int
0
errorEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose error events to event handlers that are not necessarily instances of FileReader.
const EventStreamProvider<ProgressEvent>('error')
loadEndEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose loadend events to event handlers that are not necessarily instances of FileReader.
const EventStreamProvider<ProgressEvent>('loadend')
loadEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose load events to event handlers that are not necessarily instances of FileReader.
const EventStreamProvider<ProgressEvent>('load')
LOADING → const int
1
loadStartEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose loadstart events to event handlers that are not necessarily instances of FileReader.
const EventStreamProvider<ProgressEvent>('loadstart')
progressEvent → const EventStreamProvider<ProgressEvent>
Static factory designed to expose progress events to event handlers that are not necessarily instances of FileReader.
const EventStreamProvider<ProgressEvent>('progress')

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-html/FileReader-class.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API