public interface IDBVersionChangeRequest extends IDBRequest
IDBDatabase.setVersion()
method has been removed. However, it is still implemented in not up-to-date browsers. See the compatibility table for version details.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
Modifier and Type | Method and Description |
---|---|
EventListener |
getOnblocked()
The event handler for the blocked event.
|
void |
setOnblocked(EventListener arg) |
addEventListener, addEventListener, dispatchEvent, getError, getErrorCode, getOnerror, getOnsuccess, getReadyState, getResult, getSource, getTransaction, getWebkitErrorMessage, removeEventListener, removeEventListener, setOnerror, setOnsuccess
EventListener getOnblocked()
void setOnblocked(EventListener arg)
Copyright © 2016. All rights reserved.