Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FileList

Package version

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.

Hierarchy

  • FileList

Indexable

[index: number]: File

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.

Index

Properties

Methods

Properties

length

length: number

Methods

item

  • item(index: number): File | null
  • Parameters

    • index: number

    Returns File | null

Generated using TypeDoc