files

The array of files being processed, or already uploaded.

Each element is a File object with a number of extra properties to track the upload process:

  • uploadTarget: The target URL used to upload this file.

  • elapsed: Elapsed time since the upload started.

  • remaining: Number of seconds remaining for the upload to finish.

  • progress: Percentage of the file already uploaded.

  • speed: Upload speed in kB/s.

  • size: File size in bytes.

  • total: The total size of the data being transmitted or processed

  • loaded: Bytes transferred so far.

  • status: Status of the upload process.

  • errorKey: Error key in case the upload failed.

  • abort: True if the file was canceled by the user.

  • complete: True when the file was transferred to the server.

  • uploading: True while transferring data to the server.

Note: The getter returns a shallow copy of the internal array to prevent external mutation. Modifying the returned array will not affect the manager's state.

Note: The setter validates files against maxFiles, maxFileSize, and accept constraints. Files that fail validation will be rejected with a 'file-reject' event.