FormData

external interface FormData : JsAny

Functions

Link copied to clipboard
abstract fun append(name: String, value: Blob, fileName: String? = definedExternally)
abstract fun append(name: String, value: String, fileName: String? = definedExternally)
Link copied to clipboard
abstract fun delete(name: String)
Link copied to clipboard
abstract fun forEach(callbackfn: (value: JsAny?, key: String, parent: FormData) -> Unit, thisArg: JsAny? = definedExternally)
Link copied to clipboard
abstract fun get(name: String): JsAny?
Link copied to clipboard
abstract fun getAll(name: String): ArrayLike<JsAny?>
Link copied to clipboard
abstract fun has(name: String): Boolean
Link copied to clipboard
abstract fun set(name: String, value: Blob, fileName: String? = definedExternally)
abstract fun set(name: String, value: String, fileName: String? = definedExternally)