- Source:
Classes
Methods
-
<inner> getError(error, defaultError) → {function}
-
Returns either a specific error handler or the default error handler
Parameters:
Name Type Description error
function The specific error handler defaultError
function 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 store
IndexedDBStore The store object success
function The success callback error
function The error callback - Source:
-
<inner> openTransaction(store, mode, success, error)
-
Opens a new transaction to the store
Parameters:
Name Type Description store
IndexedDBStore The store object mode
Integer The read/write mode of the transaction (constants from IDBTransaction) success
function The success callback error
function The error callback - Source: