W3cubDocs

/Haxe JavaScript

FileHandle

package js.html.idb

extends EventTarget

Available on js

Variables

read onlyactive:Bool

read onlyfileHandle:MutableFile

location:Int

read onlymode:FileMode

read onlymutableFile:MutableFile

onabort:Function

oncomplete:Function

onerror:Function

Methods

abort():Void

Throws:

null

DOMError

append(value:String):FileRequest

append(value:ArrayBuffer):FileRequest

append(value:ArrayBufferView):FileRequest

append(value:Blob):FileRequest

Throws:

null

DOMError

flush():FileRequest

Throws:

null

DOMError

getMetadata(?parameters:Null<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:String):FileRequest

write(value:ArrayBuffer):FileRequest

write(value:ArrayBufferView):FileRequest

write(value:Blob):FileRequest

Throws:

null

DOMError

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