db.IndexedDb.VersionChangeEvent Extends goog.events.Event
Event representing a (possibly attempted) change in the database structure. At time of writing, no Chrome versions support oldVersion or newVersion. See http://crbug.com/153122.

Inheritance

Constructor

goog.db.IndexedDb.VersionChangeEvent(oldVersionnewVersion)

Parameters

oldVersion : number
The previous version of the database.
newVersion : number
The version the database is being or has been updated to.

Instance Methods

Public Protected Private
dispose()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
disposeInternal()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
preventDefault()
Prevents the default action, for example a link redirecting to a url.
code »
stopPropagation()
Stops event propagation.
code »

Instance Properties

constructor :
No description.
Code »
newVersion :
The version the database is being or has been updated to.
Code »
oldVersion :
The previous version of the database.
Code »
currentTarget :
Object that had the listener attached.
Code »
defaultPrevented :
Whether the default action has been prevented. This is a property to match the W3C specification at http://www.w3.org/TR/DOM-Level-3-Events/ #events-event-type-defaultPrevented. Must be treated as read-only outside the class.
Code »
propagationStopped_ :
Whether to cancel the event in internal capture/bubble processing for IE.
Code »
returnValue_ :
Return value for in internal capture/bubble processing for IE.
Code »
target :
Target of the event.
Code »
type :
Event type.
Code »

Static Properties

goog.db.IndexedDb.VersionChangeEvent.superClass_ :
No description.
Code »

Package db.IndexedDb

Package Reference