Search results

FileInfo API in JavaScript (ES5) Uploader API control

Properties

fileSource

string

Returns where the file selected from, to upload.

id

string

Returns the unique upload file name ID.

input

HTMLInputElement

Returns the input element mapped with file list item.

list

HTMLElement

Returns the respective file list item.

name

string

Returns the upload file name.

rawFile

string | Blob

Returns the details about upload file.

size

number

Returns the size of file in bytes.

status

string

Returns the status of the file.

statusCode

string

Returns the current state of the file such as Failed, Canceled, Selected, Uploaded, or Uploading.

type

string

Returns the MIME type of file as a string. Returns empty string if the file’s type is not determined.

validationMessages

ValidationMessages

Returns the list of validation errors (if any).