files/en-us/web/api/storageevent/index.md
{{APIRef("Web Storage API")}}
The StorageEvent interface is implemented by the {{domxref("Window/storage_event", "storage")}} event, which is
sent to a window
when a storage area the window has access to is changed within the context of another document.
{{InheritanceDiagram}}
StorageEvent object.In addition to the properties listed below, this interface inherits the properties of its parent interface, {{domxref("Event")}}.
key attribute is null when the change is caused by the storage clear() method.null when the change has been invoked by storage clear() method,
or the storage item has been removed from the storage.null when the storage item has been newly added
and therefore doesn't have any previous value.In addition to the methods listed below, this interface inherits the methods of its parent interface, {{domxref("Event")}}.
{{Specifications}}
{{Compat}}