FormData
Implements
Constructors
new FormData()
new FormData(): FormData
Returns
Methods
[iterator]()
[iterator](): IterableIterator
<[string
, FormDataEntryValue
]>
Returns
IterableIterator
<[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(): IterableIterator
<[string
, FormDataEntryValue
]>
Returns
IterableIterator
<[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(): IterableIterator
<string
>
Returns
IterableIterator
<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(): IterableIterator
<FormDataEntryValue
>
Returns
IterableIterator
<FormDataEntryValue
>
Implementation of
globalThis.FormData.values