haXe API Documentation
Back | Index
extern class js.html.idb.Request
extends js.html.EventTarget
Available in js

The IDBRequest interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes. Each reading and writing operation on a database is done using a request.

The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance.

Inherits from: EventTarget



Documentation for this class was provided by MDN.
var error(default,null) : js.html.DOMError
Getter throws DatabaseException.
var errorCode(default,null) : Int
Getter throws DatabaseException.
var errorMessage(default,null) : String
Getter throws DatabaseException.
var onerror : js.html.EventListener
var onsuccess : js.html.EventListener
var readyState(default,null) : String
var result(default,null) : Any
Getter throws DatabaseException.
var source(default,null) : Any
var transaction(default,null) : Transaction
Back | Index