File

File

package js-html

extends Blob

Available on js

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:

Constructor

new (fileBits:String, ?options:ChromeFilePropertyBag)

new (fileBits:Array<EitherType<ArrayBuffer, EitherType<ArrayBufferView, EitherType<Blob, String>>>>, fileName:String, ?options:FilePropertyBag)

new (fileBits:Blob, ?options:ChromeFilePropertyBag)

new (fileBits:Dynamic, ?options:ChromeFilePropertyBag)

Throws:

null DOMError

Variables

read only lastModified:Int

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

read only lastModifiedDate:Date

Returns the last modified Date of the file referenced by the File object-

read only name:String

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

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/File.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部