FormData

open class FormData(form: HTMLFormElement) : JsAny

Exposes the JavaScript FormData to Kotlin

Constructors

Link copied to clipboard
constructor(form: HTMLFormElement)

Functions

Link copied to clipboard
fun append(name: String, value: String)
fun append(name: String, value: Blob, filename: String)
Link copied to clipboard
fun delete(name: String)
Link copied to clipboard
fun get(name: String): JsAny?
Link copied to clipboard
fun getAll(name: String): JsArray<JsAny?>
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)