W3cubDocs

/Haxe JavaScript

MutableFile

package js.html.idb

extends EventTarget

@:native("IDBMutableFile") Available on js

The IDBMutableFile interface provides access in read or write mode to a file, dealing with all the necessary locks.

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

See:

Variables

read only database:Database

read only name:String

onabort:Function

onerror:Function

read only type:String

Methods

getFile ():DOMRequest

Throws:

null DOMError

@:value({ mode : "readonly" }) open (mode:FileMode = "readonly"):FileHandle

Throws:

null DOMError

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