IDBRequest$Typings<T> extension
- on
-
- IDBRequest<
T>
- IDBRequest<
Properties
-
addEventListener
→ ({void Function<
K$>(IDBRequestEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on IDBRequest<
Overload accessor: $1, $2T> , provided by the IDBRequest$Typings extensionno setter - error → DOMException?
-
Available on IDBRequest<
When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.T> , provided by the IDBRequest$Typings extensionno setter - onerror ↔ dynamic Function(Event)?
-
Available on IDBRequest<
MDN ReferenceT> , provided by the IDBRequest$Typings extensiongetter/setter pair - onsuccess ↔ dynamic Function(Event)?
-
Available on IDBRequest<
MDN ReferenceT> , provided by the IDBRequest$Typings extensiongetter/setter pair - readyState → IDBRequestReadyState
-
Available on IDBRequest<
Returns "pending" until a request is complete, then returns "done".T> , provided by the IDBRequest$Typings extensionno setter -
removeEventListener
→ ({void Function<
K$>(IDBRequestEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on IDBRequest<
Overload accessor: $1, $2T> , provided by the IDBRequest$Typings extensionno setter - result → T
-
Available on IDBRequest<
When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.T> , provided by the IDBRequest$Typings extensionno setter - source → Object
-
Available on IDBRequest<
Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.T> , provided by the IDBRequest$Typings extensionno setter - transaction → IDBTransaction?
-
Available on IDBRequest<
Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.T> , provided by the IDBRequest$Typings extensionno setter