New to KendoReactStart a free 30-day trial

Contains information which is related to the selected file.

Definition

Package:@progress/kendo-react-upload

Properties

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

Gets the raw file instance.

Returns:

File

name

string

The file name.

progress

number

The current upload progress.

size?

number

The file size in bytes.

The current state of the file—Failed, Selected, Uploaded, or Uploading. Initial is a special value for FileState and is automatically applied to initial files without you having to explicitly set their state.

uid

string

The unique identifier of the group (batch) with one or more files. Has to be set for the initial list of files.

A list which contains the validation errors (if any).