import { type dom } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";
const { IDBOpenDBRequest } = dom;
Also inherits methods from its parents IDBRequest and EventTarget.
Properties
onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null
onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null
Methods
addEventListener<K extends keyof IDBOpenDBRequestEventMap>(): void
type: K,
listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(): void
type: K,
listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any,
options?: boolean | EventListenerOptions,