idb.FileHandle

FileHandle

package js-html-idb

extends EventTarget

Available on js

Variables

read only active:Bool

read only fileHandle:MutableFile

location:Int

read only mode:FileMode

read only mutableFile:MutableFile

onabort:Function

oncomplete:Function

onerror:Function

Methods

abort ():Void

Throws:

null DOMError

append (value:EitherType<String, EitherType<ArrayBuffer, EitherType<ArrayBufferView, Blob>>>):FileRequest

Throws:

null DOMError

flush ():FileRequest

Throws:

null DOMError

getMetadata (?parameters:FileMetadataParameters):FileRequest

Throws:

null DOMError

readAsArrayBuffer (size:Int):FileRequest

Throws:

null DOMError

readAsText (size:Int, ?encoding:String):FileRequest

Throws:

null DOMError

truncate (?size:Int):FileRequest

Throws:

null DOMError

write (value:EitherType<String, EitherType<ArrayBuffer, EitherType<ArrayBufferView, Blob>>>):FileRequest

Throws:

null DOMError

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部