- Source:
Classes
Methods
-
<inner> getError(error, defaultError) → {function}
-
Returns either a specific error handler or the default error handler
Parameters:
Name Type Description errorfunction The specific error handler defaultErrorfunction The default error handler - Source:
Returns:
The error callback- Type
- function
-
<inner> openStoreDb(store, success, error)
-
Opens the store object's indexed db database.
Parameters:
Name Type Description storeIndexedDBStore The store object successfunction The success callback errorfunction The error callback - Source:
-
<inner> openTransaction(store, mode, success, error)
-
Opens a new transaction to the store
Parameters:
Name Type Description storeIndexedDBStore The store object modeInteger The read/write mode of the transaction (constants from IDBTransaction) successfunction The success callback errorfunction The error callback - Source: