All Components


Contains information related to the selected file.

extension string

The file extension including the leading dot—for example, .jpg, .png, or other.

httpSubscription Subscription

The observable subscription of the upload request.

name string

The file name.

rawFile File

An in-memory representation of the file.

size number

The file size in bytes. If not provided, the value is null.

state FileState

The current state of the file—Failed, Selected, Uploaded, or Uploading.
A special value for FileState is Initial. It is automatically applied to files that are part of the initial file list.

uid string

The unique identifier of the file or the batch of files.

validationErrors Array<string>

A list containing the validation errors (if any).

In this article