Help Center

Local Navigation

Object: StorageEvent

Availability

BlackBerry® Device Software version 6.0 or later

Extends

Event

The StorageEvent object extends the Event object and represents an event fired when a local or session storage area changes.

StorageEvent properties

Property name

Type

Description

Status

Support level

Availability

key

DOMString

Returns the key being changed.

read only

HTML 5

6.0 or later

newValue

any

Returns the new value of the key being changed.

read only

HTML 5

6.0 or later

oldValue

any

Returns the old value of the key being changed.

read only

HTML 5

6.0 or later

storageArea

Storage

Returns the affected Storage object.

read only

HTML 5

6.0 or later

url

DOMString

Returns the address of the document whose key changed.

read only

HTML 5

6.0 or later

StorageEvent methods

Method name

Description

Support level

Availability

initStorageEvent()

Initializes a StorageEvent.

HTML 5

6.0 or later

Next topic: Thread API
Previous topic: Storage methods

Was this information helpful? Send us your comments.