FileReader

open external class FileReader : EventTarget(source)

Exposes the JavaScript FileReader to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Since Kotlin 1.1

Properties

Link copied to clipboard
open val error: dynamic
Since Kotlin 1.1
Link copied to clipboard
var onabort: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
var onerror: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
var onload: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
var onloadend: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
var onloadstart: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
var onprogress: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open val readyState: Short
Since Kotlin 1.1
Link copied to clipboard
open val result: dynamic
Since Kotlin 1.1

Functions

Link copied to clipboard
fun abort()
Since Kotlin 1.1
Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun addEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun readAsDataURL(blob: Blob)
Since Kotlin 1.1
Link copied to clipboard
fun readAsText(blob: Blob, label: String = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1