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.

Properties

Property name

Type

Description

Status

Support level

Availability

key

DOMString

Returns the key being changed.

read only

Web Storage

6.0 or later

newValue

any

Returns the new value of the key being changed.

read only

Web Storage

6.0 or later

oldValue

any

Returns the old value of the key being changed.

read only

Web Storage

6.0 or later

storageArea

Storage

Returns the affected Storage object.

read only

Web Storage

6.0 or later

url

DOMString

Returns the address of the document whose key changed.

read only

Web Storage

6.0 or later

Methods

Method name

Description

Support level

Availability

initStorageEvent()

Initializes a StorageEvent.

Web Storage

6.0 or later

Last modified: 2014-03-10



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus