Skip to content

@ralphschuler.webgl shader factory.<internal>.IDBOpenDBRequest

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: IDBOpenDBRequest

@ralphschuler/webgl-shader-factory.<internal>.IDBOpenDBRequest

Also inherits methods from its parents IDBRequest and EventTarget.

MDN Reference

Hierarchy

Table of contents

Properties

Methods

Properties

error

Readonly error: null | DOMException

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.

MDN Reference

Inherited from

IDBRequest.error

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14049


onblocked

onblocked: null | (this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14019


onerror

onerror: null | (this: IDBRequest<IDBDatabase>, ev: Event) => any

MDN Reference

Inherited from

IDBRequest.onerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14051


onsuccess

onsuccess: null | (this: IDBRequest<IDBDatabase>, ev: Event) => any

MDN Reference

Inherited from

IDBRequest.onsuccess

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14053


onupgradeneeded

onupgradeneeded: null | (this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14021


readyState

Readonly readyState: IDBRequestReadyState

Returns "pending" until a request is complete, then returns "done".

MDN Reference

Inherited from

IDBRequest.readyState

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14059


result

Readonly result: IDBDatabase

When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.

MDN Reference

Inherited from

IDBRequest.result

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14065


source

Readonly source: IDBCursor | IDBObjectStore | IDBIndex

Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.

MDN Reference

Inherited from

IDBRequest.source

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14071


transaction

Readonly transaction: null | IDBTransaction

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.

MDN Reference

Inherited from

IDBRequest.transaction

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14077

Methods

addEventListener

addEventListener<K>(type, listener, options?): void

Type parameters

Name Type
K extends keyof IDBOpenDBRequestEventMap

Parameters

Name Type
type K
listener (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any
options? boolean | AddEventListenerOptions

Returns

void

Overrides

IDBRequest.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14022

addEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | AddEventListenerOptions

Returns

void

Overrides

IDBRequest.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14023


dispatchEvent

dispatchEvent(event): boolean

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

MDN Reference

Parameters

Name Type
event Event

Returns

boolean

Inherited from

IDBRequest.dispatchEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8217


removeEventListener

removeEventListener<K>(type, listener, options?): void

Type parameters

Name Type
K extends keyof IDBOpenDBRequestEventMap

Parameters

Name Type
type K
listener (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any
options? boolean | EventListenerOptions

Returns

void

Overrides

IDBRequest.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14024

removeEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | EventListenerOptions

Returns

void

Overrides

IDBRequest.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14025

Typescript Libraries

Modules

Namespaces

Clone this wiki locally