kotlin-stdlib
JS
kotlin-stdlib
/
org.w3c.xhr
/
FormData
Form
Data
JS
open
external
class
FormData
(
form
:
HTMLFormElement
=
definedExternally
)
Exposes the JavaScript
FormData
to Kotlin
Constructors
Functions
Constructors
Form
Data
Link copied to clipboard
JS
fun
FormData
(
form
:
HTMLFormElement
=
definedExternally
)
Functions
append
Link copied to clipboard
JS
fun
append
(
name
:
String
,
value
:
String
)
fun
append
(
name
:
String
,
value
:
Blob
,
filename
:
String
=
definedExternally
)
delete
Link copied to clipboard
JS
fun
delete
(
name
:
String
)
get
Link copied to clipboard
JS
fun
get
(
name
:
String
)
:
dynamic
get
All
Link copied to clipboard
JS
fun
getAll
(
name
:
String
)
:
Array
<
dynamic
>
has
Link copied to clipboard
JS
fun
has
(
name
:
String
)
:
Boolean
set
Link copied to clipboard
JS
fun
set
(
name
:
String
,
value
:
String
)
fun
set
(
name
:
String
,
value
:
Blob
,
filename
:
String
=
definedExternally
)