kvision / pl.treksoft.kvision.cordova / FileSaver

FileSaver

external interface FileSaver : EventTarget

Properties

DONE

abstract var DONE: Number

error

abstract var error: Error

INIT

abstract var INIT: Number

onabort

abstract var onabort: (<ERROR CLASS>) -> Unit

onerror

abstract var onerror: (<ERROR CLASS>) -> Unit

onprogress

abstract var onprogress: (<ERROR CLASS>) -> Unit

onwrite

abstract var onwrite: (<ERROR CLASS>) -> Unit

onwriteend

abstract var onwriteend: (<ERROR CLASS>) -> Unit

onwritestart

abstract var onwritestart: (<ERROR CLASS>) -> Unit

readyState

abstract var readyState: Number

WRITING

abstract var WRITING: Number

Functions

abort

abstract fun abort(): Unit

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.

Inheritors

FileWriter

external interface FileWriter : FileSaver