Krystalware
SlickUpload logo

File Class

Represents a selected file.

Members

id – string

Unique identifier of this file.

fileName – string

File name of this file.

extension – string

File extension of this file.

isValidExtension – bool

Boolean that specifies whether the file has a valid extension based on validation rules.

Remarks

Only available on File instances in a FileList.

isValidExtension – bool

Boolean that specifies whether the file has a valid extension based on validation rules.

Remarks

Only available on File instances in a FileList.

getElementById(id)

Gets the templated element based on the id specified, or null if no such element was found.

Parameters

  • id (string) – The id to look for.

Remarks

Only available on File instances in a FileList. This is used when templating controls for file list items.