FileList

extern class js.html.FileListAvailable in js

An object of this type is returned by the files property of the HTML input element; this lets you access the list of files selected with the <input type="file"> 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.

Gecko 1.9.2 note

Prior to Gecko 1.9.2, the input element only supported a single file being selected at a time, meaning that the FileList would contain only one file. Starting with Gecko 1.9.2, if the input element's multiple attribute is true, the FileList may contain multiple files.



Documentation for this class was provided by MDN.
var length(default,null) : IntA read-only value indicating the number of files in the list. function item( index : Int ) : File
version #18269, modified 2013-05-01 11:57:25 by api
0 comment