onupgradeneeded
Collapse the table of content
Expand the table of content

onupgradeneeded property

Defines a function handler for the upgradeneeded event, which executes when a database is opened with a new version number.

This property is read/write.

Syntax

JavaScript
object.onupgradeneeded = ptr
ptr = object.onupgradeneeded

 

Property values

Type: Function

A reference to the function that handles the event.

Standards information

See also

IDBOpenDBRequest

 

 

Show:
© 2017 Microsoft