FormData
Implements
Constructors
new FormData()
new FormData(): FormData
Returns
Methods
[iterator]()
[iterator](): FormDataIterator
<[string
, FormDataEntryValue
]>
Returns
FormDataIterator
<[string
, FormDataEntryValue
]>
Implementation of
globalThis.FormData.[iterator]
append()
append(name, value)
append(name
, value
): void
Parameters
Parameter | Type |
---|---|
name | string |
value | string | Blob |
Returns
void
Implementation of
globalThis.FormData.append
append(name, value)
append(name
, value
): void
Parameters
Parameter | Type |
---|---|
name | string |
value | string |
Returns
void
Implementation of
globalThis.FormData.append
append(name, blobValue, filename)
append(name
, blobValue
, filename
?): void
Parameters
Parameter | Type |
---|---|
name | string |
blobValue | Blob |
filename ? | string |
Returns
void
Implementation of
globalThis.FormData.append
delete()
delete(name
): void
Parameters
Parameter | Type |
---|---|
name | string |
Returns
void
Implementation of
globalThis.FormData.delete
entries()
entries(): FormDataIterator
<[string
, FormDataEntryValue
]>
Returns an array of key, value pairs for every entry in the list.
Returns
FormDataIterator
<[string
, FormDataEntryValue
]>
Implementation of
globalThis.FormData.entries
forEach()
forEach(callbackfn
, thisArg
?): void
Parameters
Parameter | Type |
---|---|
callbackfn | (value , key , parent ) => void |
thisArg ? | any |
Returns
void
Implementation of
globalThis.FormData.forEach
get()
get(name
): null
| FormDataEntryValue
Parameters
Parameter | Type |
---|---|
name | string |
Returns
null
| FormDataEntryValue
Implementation of
globalThis.FormData.get
getAll()
getAll(name
): FormDataEntryValue
[]
Parameters
Parameter | Type |
---|---|
name | string |
Returns
Implementation of
globalThis.FormData.getAll
has()
has(name
): boolean
Parameters
Parameter | Type |
---|---|
name | string |
Returns
boolean
Implementation of
globalThis.FormData.has
keys()
keys(): FormDataIterator
<string
>
Returns a list of keys in the list.
Returns
FormDataIterator
<string
>
Implementation of
globalThis.FormData.keys
set()
set(name, value)
set(name
, value
): void
Parameters
Parameter | Type |
---|---|
name | string |
value | string | Blob |
Returns
void
Implementation of
globalThis.FormData.set
set(name, value)
set(name
, value
): void
Parameters
Parameter | Type |
---|---|
name | string |
value | string |
Returns
void
Implementation of
globalThis.FormData.set
set(name, blobValue, filename)
set(name
, blobValue
, filename
?): void
Parameters
Parameter | Type |
---|---|
name | string |
blobValue | Blob |
filename ? | string |
Returns
void
Implementation of
globalThis.FormData.set
values()
values(): FormDataIterator
<FormDataEntryValue
>
Returns a list of values in the list.
Returns
FormDataIterator
<FormDataEntryValue
>
Implementation of
globalThis.FormData.values