W3cubDocs

/Haxe JavaScript

VersionChangeEvent

package js.html.idb

extends Event

@:native("IDBVersionChangeEvent") Available on js

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

Documentation IDBVersionChangeEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (type:String, ?eventInitDict:VersionChangeEventInit)

Throws:

null DOMError

Variables

read only newVersion:Int

read only oldVersion:Int

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/idb/VersionChangeEvent.html