IDBTransaction$Typings extension

on

Properties

abort ↔ void Function()
getter/setter pair
addEventListener → ({void Function<K$>(IDBTransactionEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
commit ↔ void Function()
getter/setter pair
db IDBDatabase
Returns the transaction's connection.
no setter
durability IDBTransactionDurability
MDN Reference
no setter
error DOMException?
If the transaction was aborted, returns the error (a DOMException) providing the reason.
no setter
mode IDBTransactionMode
Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.
no setter
objectStore IDBObjectStore Function(String)
getter/setter pair
objectStoreNames DOMStringList
Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
no setter
onabort ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
oncomplete ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
onerror ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
removeEventListener → ({void Function<K$>(IDBTransactionEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter