Package org.w3c.files

Kotlin JavaScript wrappers for the W3C file API.

Types

JS
1.1

Blob

Exposes the JavaScript Blob to Kotlin

open class Blob : ImageBitmapSource
JS
1.1

BlobPropertyBag

interface BlobPropertyBag
JS
1.1

File

Exposes the JavaScript File to Kotlin

open class File : Blob
JS
1.1

FileList

Exposes the JavaScript FileList to Kotlin

abstract class FileList : ItemArrayLike<File>
JS
1.1

FilePropertyBag

interface FilePropertyBag : BlobPropertyBag
JS
1.1

FileReader

Exposes the JavaScript FileReader to Kotlin

open class FileReader : EventTarget
JS
1.1

FileReaderSync

Exposes the JavaScript FileReaderSync to Kotlin

open class FileReaderSync

Functions

JS
1.1

BlobPropertyBag

fun BlobPropertyBag(type: String? = ""): BlobPropertyBag
JS
1.1

FilePropertyBag

fun FilePropertyBag(
    lastModified: Int? = undefined,
    type: String? = ""
): FilePropertyBag
JS
1.1

get

operator fun FileList.get(index: Int): File?