Skip to main content
The Deno 2 Release Candidate is 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