Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface IDBVersionChangeEvent
implements Event
import { type IDBVersionChangeEvent } from "https://deno.land/x/indexeddb@1.3.5/lib/indexeddb.ts";

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

Properties

readonly
newVersion: number | null
readonly
oldVersion: number

Methods

new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent