Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Indexed Database Events

Indexed Database Events

This topic lists the events supported by the Indexed Database API.

In this section

TopicDescription

onabort

Defines a function handler for the abort event, which executes when the transaction is canceled.

onblocked

Defines a function handler for the blocked event, which executes when a version change transaction cannot complete due to other active transactions.

oncomplete

Defines a function handler for the complete event, which executes when the transaction has committed all pending operations.

onerror

Defines a function handler that is executed when an error is encountered during a request, a transaction, or other database operation.

onsuccess

Defines a function handler for the success event, which executes when a request completes successfully.

onupgradeneeded

Defines a function handler for the upgradeneeded event, which executes when a database is opened with a new version number.

 

 

 

Show:
© 2015 Microsoft