File

open class File(fileBits: JsArray<JsAny?>, fileName: String, options: FilePropertyBag) : Blob, JsAny

Exposes the JavaScript File to Kotlin

Constructors

Link copied to clipboard
constructor(fileBits: JsArray<JsAny?>, fileName: String, options: FilePropertyBag)

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: JsNumber
Link copied to clipboard
open val type: String

Functions

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