The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.
The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on. The event target may be an Element in a document, the Document itself, a Window, or any other object that supports events (such as XMLHttpRequest).
MDN
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) apply to events dispatched manually with dispatchEvent().
MDN
A DOMError containing the relevant error.
A DOMError containing the relevant error. The following error codes are returned under certain conditions:
MDN
The event handler for the blocked event.
The event handler for the blocked event. This event is triggered when the upgradeneeded should be triggered because of a version change but the database is still in use (ie not closed) somewhere, even after the versionchange event was sent.
MDN
The event handler for the error event.
The event handler for the error event.
MDN
The event handler for the success event.
The event handler for the success event.
MDN
The event handler for the upgradeneeded event, fired when a database of a bigger version number than the existing stored database is loaded.
The event handler for the upgradeneeded event, fired when a database of a bigger version number than the existing stored database is loaded.
MDN
The state of the request.
The state of the request. Every request starts in the pending state. The state changes to done when the request completes successfully or when an error occurs.
MDN
Removes the event listener previously registered with EventTarget.addEventListener.
Removes the event listener previously registered with EventTarget.addEventListener.
MDN
Returns the result of the request.
Returns the result of the request. If the the request failed and the result is not available, the InvalidStateError exception is thrown.
MDN
The source of the request, such as an Index or a ObjectStore.
The source of the request, such as an Index or a ObjectStore. If no source exists (such as when calling IDBFactory.open), it returns null.
MDN
The transaction for the request.
The transaction for the request. This property can be null for certain requests, such as for request returned from IDBFactory.open (You're just connecting to a database, so there is no transaction to return).
MDN
The IDBOpenDBRequest interface of the IndexedDB API provides access to results of requests to open databases using specific event handler attributes.
MDN