IDBDatabase$Typings extension

on

Properties

addEventListener → ({void Function<K$>(IDBDatabaseEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
close ↔ void Function()
getter/setter pair
createObjectStore IDBObjectStore Function(String, [IDBObjectStoreParameters?])
getter/setter pair
deleteObjectStore ↔ void Function(String)
getter/setter pair
name String
Returns the name of the database.
no setter
objectStoreNames DOMStringList
Returns a list of the names of object stores in the database.
no setter
onabort ↔ dynamic Function(Event)?
getter/setter pair
onclose ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
onerror ↔ dynamic Function(Event)?
getter/setter pair
onversionchange ↔ dynamic Function(IDBVersionChangeEvent)?
MDN Reference
getter/setter pair
removeEventListener → ({void Function<K$>(IDBDatabaseEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
transaction → ({IDBTransaction Function(Object storeNames, [IDBTransactionMode? mode, IDBTransactionOptions? options]) $1, IDBTransaction Function(Object storeNames, [IDBTransactionMode? mode, IDBTransactionOptions? options]) $2})
Overload accessor: $1, $2
no setter
version num
Returns the version of the database.
no setter