VersionChangeEvent
package js.html.idb
extends Event
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 also:
Constructor
new(type:String, ?eventInitDict:Null<VersionChangeEventInit>)
Throws:
null |
DOMError |
---|
Variables
read onlynewVersion:Int
Returns the new version of the database.
read onlyoldVersion:Int
Returns the old version of the database.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/idb/VersionChangeEvent.html