W3cubDocs

/Haxe JavaScript

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