File

Blobjs.html.File (extern class)

The File interface provides information about files and allows JavaScript in a web page to access their content.

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

See:

Instance Members

name: String

Returns the name of the file referenced by the File object.


lastModified: Int

Returns the last modified time of the file, in millisecond since the UNIX epoch (January 1st, 1970 at Midnight).


Name Type Default
fileBits Array<haxe.extern.EitherType<haxe.extern.EitherType<js.lib.ArrayBufferView, js.lib.ArrayBuffer>, haxe.extern.EitherType<Blob, String>>>
fileName String
options Null<FilePropertyBag> (optional)