src/ui/file-upload/interfaces/smart-file-upload-options.interface.ts
Options for file upload operation.
Properties |
|
| additionalData |
additionalData:
|
Type : Record<string | string>
|
| Optional |
|
Additional form data to include with the upload. |
| batch |
batch:
|
Type : boolean
|
| Optional |
|
Whether to upload files in a single batch request or as separate concurrent requests. |
| context |
context:
|
Type : any
|
| Optional |
|
Optional context data to include with the upload. This will be sent as a separate 'context' form field. |
| reportProgress |
reportProgress:
|
Type : boolean
|
| Optional |
|
Whether to report upload progress. |
| withCredentials |
withCredentials:
|
Type : boolean
|
| Optional |
|
Whether to include credentials with the request. |