FormData

JS
1.1
open class FormData

Exposes the JavaScript FormData to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript FormData to Kotlin

FormData(form: HTMLFormElement = definedExternally)

Functions

JS
1.1

append

fun append(name: String, value: String)
fun append(
    name: String,
    value: Blob,
    filename: String = definedExternally)
JS
1.1

delete

fun delete(name: String)
JS
1.1

get

fun get(name: String): dynamic
JS
1.1

getAll

fun getAll(name: String): Array<dynamic>
JS
1.1

has

fun has(name: String): Boolean
JS
1.1

set

fun set(name: String, value: String)
fun set(
    name: String,
    value: Blob,
    filename: String = definedExternally)