IDBTransaction: complete event
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The complete event of the IndexedDB API is fired when the transaction has successfully committed, which is either after you explicit call IDBTransaction.commit() or when all requests have been successfully completed, and after handling their results, no new requests have been placed. See IDBTransaction for more information.
Syntax
Use the event name in methods like addEventListener(), or set an event handler property.
Event type
A generic Event.
Examples
Using addEventListener():
Specifications
| Specification |
|---|
| Indexed Database API 3.0 # eventdef-idbtransaction-complete |