@JsType(isNative=true,
namespace="<global>")
public class FileReader
extends Object
| Modifier and Type | Field and Description |
|---|---|
Object |
error |
Functions.Func |
onabort |
Functions.Func |
onerror |
Functions.Func1<ProgressEvent> |
onload |
Functions.Func |
onloadend |
Functions.Func |
onloadstart |
Functions.Func |
onprogress |
int |
readyState |
String |
result |
| Constructor and Description |
|---|
FileReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
readAsArrayBuffer(File file) |
void |
readAsBinaryString(File file) |
void |
readAsDataURL(File file) |
void |
readAsText(File file) |
@JsProperty public int readyState
@JsProperty public Functions.Func onabort
@JsProperty public Functions.Func onerror
@JsProperty public Functions.Func1<ProgressEvent> onload
@JsProperty public Functions.Func onloadstart
@JsProperty public Functions.Func onloadend
@JsProperty public Functions.Func onprogress
public FileReader()
@JsMethod public void abort()
@JsMethod public void readAsArrayBuffer(File file)
@JsMethod public void readAsBinaryString(File file)
@JsMethod public void readAsDataURL(File file)
@JsMethod public void readAsText(File file)
Copyright © 2023. All rights reserved.