Indexed Database Events
This topic lists the events supported by the Indexed Database API.
In this section
| Topic | Description |
|---|---|
|
Defines a function handler for the abort event, which executes when the transaction is canceled. | |
|
Defines a function handler for the blocked event, which executes when a version change transaction cannot complete due to other active transactions. | |
|
Defines a function handler for the complete event, which executes when the transaction has committed all pending operations. | |
|
Defines a function handler that is executed when an error is encountered during a request, a transaction, or other database operation. | |
|
Defines a function handler for the success event, which executes when a request completes successfully. | |
|
Defines a function handler for the upgradeneeded event, which executes when a database is opened with a new version number. |