Interface FileList

An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage.

MDN Reference

interface FileList {
    length: number;
    item(index): File;
    [index: number]: File;
}

Indexable

[index: number]: File

Properties

Methods

Properties

length: number

Methods

  • Parameters

    • index: number

    Returns File