IDBOpenDBRequest class

The interface of the IndexedDB API provides access to the results of requests to open or delete databases (performed using IDBFactory.open and IDBFactory.deleteDatabase), using specific event handler attributes. Note: This feature is available in Web Workers

EventTarget

IDBRequest

IDBOpenDBRequest

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

IDBOpenDBRequest.new()
factory

Properties

error Exception?

Available on IDBRequest, provided by the PropsIDBRequest extension

no setter
hashCode int
The hash code for this object.
no setterinherited
onblocked EventHandlerNonNull<Event>?

Available on IDBOpenDBRequest, provided by the PropsIDBOpenDBRequest extension

getter/setter pair
onerror EventHandlerNonNull<Event>?

Available on IDBRequest, provided by the PropsIDBRequest extension

getter/setter pair
onsuccess EventHandlerNonNull<Event>?

Available on IDBRequest, provided by the PropsIDBRequest extension

getter/setter pair
onupgradeneeded EventHandlerNonNull<Event>?

Available on IDBOpenDBRequest, provided by the PropsIDBOpenDBRequest extension

getter/setter pair
readyState IDBRequestReadyState

Available on IDBRequest, provided by the PropsIDBRequest extension

no setter
result → dynamic

Available on IDBRequest, provided by the PropsIDBRequest extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source → dynamic

Available on IDBRequest, provided by the PropsIDBRequest extension

no setter
transaction IDBTransaction?

Available on IDBRequest, provided by the PropsIDBRequest extension

no setter

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

dispatchEvent(Event event) bool

Available on EventTarget, provided by the PropsEventTarget extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited