HTML DOM StorageEvent

StorageEvent object

Event that occurs when the storage area of the window changes.

Attribute/Method Description
key Return the key of the modified storage item.
newValue Return the new value of the storage item after modification.
oldValue Returns the old value of the changed storage item.
storageArea Returns an object representing the affected storage object.
url Returns the URL of the document containing the changed item.

Inherited Properties and Methods

StorageEvent inherits all properties and methods from the following objects:

Event Object

Event Types

These event types belong to the StorageEvent object:

Events Description
storage This event occurs when the Web Storage area is updated.