The StorageEvent
THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML DOM StorageEvent

❮ DOM Events ❮ Event Objects


The StorageEvent Object

Events that occur when there is changes in the window's storage area.


StorageEvent Properties and Methods

Property/Method Description
key Returns the key of the changed storage item
newValue Returns the new value of the changed storage item
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 changed item's document

Inherited Properties and Methods

The StorageEvent inherits all the properties and methods from:

The Event Object


Event Types

These event types belongs to the StorageEvent Object:

Event Description
storage The event occurs when a Web Storage area is updated

❮ DOM Events ❮ Event Objects