JavaScripture
Contribute via GitHub Feedback

JavaScript FileList : Object

A object representing a list of Files. Available on the HTMLInputElement.files property.

Instance Indexers

this[index : Number] : File

Returns the File at the specified index. You can also use the item() method to retrieve the item.

Example:

Run

Results:

 

Instance Properties

length : Number  

The number of Files in the list.

Example:

Run

Results:

 

Instance Methods

item(index : Number) : File

Same as this[index].