File

open external class File(    fileBits: Array<dynamic>,     fileName: String,     options: FilePropertyBag = definedExternally) : Blob

Exposes the JavaScript File to Kotlin

Constructors

Link copied to clipboard
fun File(    fileBits: Array<dynamic>,     fileName: String,     options: FilePropertyBag = definedExternally)

Functions

Link copied to clipboard
fun close()
Link copied to clipboard
fun slice(    start: Int = definedExternally,     end: Int = definedExternally,     contentType: String = definedExternally): Blob

Properties

Link copied to clipboard
open val isClosed: Boolean
Link copied to clipboard
open val lastModified: Int
Link copied to clipboard
open val name: String
Link copied to clipboard
open val size: Number
Link copied to clipboard
open val type: String