FileReader

Exposes the JavaScript FileReader to Kotlin

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val error: JsAny?
Link copied to clipboard
var onabort: (Event) -> Unit?
Link copied to clipboard
var onerror: (Event) -> Unit?
Link copied to clipboard
var onload: (Event) -> Unit?
Link copied to clipboard
var onloadend: (Event) -> Unit?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val readyState: Short
Link copied to clipboard
open val result: JsAny?

Functions

Link copied to clipboard
fun abort()
Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?)
fun addEventListener(type: String, callback: EventListener?)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: AddEventListenerOptions)
fun addEventListener(type: String, callback: EventListener?, options: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun readAsDataURL(blob: Blob)
Link copied to clipboard
fun readAsText(blob: Blob, label: String)
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: EventListenerOptions)
fun removeEventListener(type: String, callback: EventListener?, options: Boolean)