FormData

open external class FormData(form: HTMLFormElement = definedExternally)(source)

Exposes the JavaScript FormData to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor(form: HTMLFormElement = definedExternally)

Functions

Link copied to clipboard
fun append(name: String, value: String)
fun append(name: String, value: Blob, filename: String = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
fun delete(name: String)
Since Kotlin 1.1
Link copied to clipboard
fun get(name: String): dynamic
Since Kotlin 1.1
Link copied to clipboard
fun getAll(name: String): Array<dynamic>
Since Kotlin 1.1
Link copied to clipboard
fun has(name: String): Boolean
Since Kotlin 1.1
Link copied to clipboard
fun set(name: String, value: String)
fun set(name: String, value: Blob, filename: String = definedExternally)
Since Kotlin 1.1