File API, blobs and FileReaders

suggest change

Syntax

Parameters

Property/Method Description
error A error that occurred while reading the file.
readyState Contains the current state of the FileReader.
result Contains the file contents.
onabort Triggered when the operation is aborted.
onerror Triggered when an error is encountered.
onload Triggered when the file has loaded.
onloadstart Triggered when the file loading operation has started.
onloadend Triggered when the file loading operation has ended.
onprogress Triggered whilst reading a Blob.
abort() Aborts the current operation.
readAsArrayBuffer(blob) Starts reading the file as an ArrayBuffer.
readAsDataURL(blob) Starts reading the file as a data url/uri.
readAsText(blob[, encoding]) Starts reading the file as a text file. Not able to read binary files. Use readAsArrayBuffer instead.

Remarks

https://www.w3.org/TR/FileAPI/

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


File API, blobs and FileReaders:
* Syntax

Table Of Contents
11 Arrays
12 Objects
14 Classes
16 Map
17 Set
24 Loops
27 Date
29 Scope
30 AJAX
35 Cookies
41 JSON
44 Fetch
45 Modules
46 Screen
63 File API, blobs and FileReaders
64 Console
68 Symbols
73 Modals
76 Events
86 Proxy
89 WeakMap
90 WeakSet
102 Tilde