Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

IDBVersionChangeEvent

import { IDBVersionChangeEvent } from "https://raw.githubusercontent.com/aaronhuggins/indexeddb/main/ponyfill.ts";

This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function.

interface IDBVersionChangeEvent extends Event {
readonly newVersion: number | null;
readonly oldVersion: number;
new (type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;
}
const IDBVersionChangeEvent;

§Extends

§
Event
[src]

§Properties

§
readonly newVersion: number | null
[src]
§
readonly oldVersion: number
[src]

§Methods

§
new (type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent
[src]