W3cubDocs

/Haxe JavaScript

FileList

package js.html

@:native("FileList") Available on 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.

Documentation FileList by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only length:Int

Methods

item (index:Int):File

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/FileList.html