Dart API Referencedart:htmlIDBRequest

IDBRequest Interface

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

Extends

EventTarget

Subinterfaces

IDBOpenDBRequest, IDBVersionChangeRequest

Methods

Code IDBRequestEvents get on() #

IDBRequestEvents get on();

Code void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) #

void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);

Code bool $dom_dispatchEvent(Event evt) #

bool $dom_dispatchEvent(Event evt);

Code void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) #

void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);

Fields

Code final DOMError error #

final DOMError error;

Code final int errorCode #

final int errorCode;

Code final String readyState #

final String readyState;

Code final result #

final Dynamic result;

Code final source #

final Dynamic source;

Code final IDBTransaction transaction #

final IDBTransaction transaction;

Code final String webkitErrorMessage #

final String webkitErrorMessage;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.