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
Show:
