FormData

open external class FormData(form: HTMLFormElement = definedExternally)

Exposes the JavaScript FormData to Kotlin

Constructors

Link copied to clipboard
fun FormData(form: HTMLFormElement = definedExternally)

Functions

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