VersionChangeRequest

extern class js.html.idb.VersionChangeRequestextends RequestAvailable in js
Warning: The latest specification does not include this interface anymore as the IDBDatabase.setVersion() method has been removed. However, it is still implemented in not up-to-date browsers. See the compatibility table for version details.
The new way to do it is to use the IDBOpenDBRequest interface which has now the onblocked handler and the newly needed onupgradeneeded one.

The IDBVersionChangeRequest interface the IndexedDB API represents a request to change the version of a database. It is used only by the setVersion() method of IDBDatabase.

Inherits from: IDBRequest



Documentation for this class was provided by MDN.
var onblocked : EventListenerThe event handler for the blocked event.
version #19150, modified 2013-05-08 11:01:13 by api
0 comment