FileReader
Constructors
<init>
Exposes the JavaScript FileReader to Kotlin
FileReader()
Properties
error
open val error: dynamic
onloadstart
var onloadstart: ((ProgressEvent) -> dynamic)?
onprogress
var onprogress: ((ProgressEvent) -> dynamic)?
readyState
open val readyState: Short
result
open val result: dynamic
Functions
abort
fun abort()
readAsArrayBuffer
fun readAsArrayBuffer(blob: Blob)
readAsBinaryString
fun readAsBinaryString(blob: Blob)
readAsDataURL
fun readAsDataURL(blob: Blob)
readAsText
fun readAsText(blob: Blob, label: String = definedExternally)