storage

Событие storage сигнализирует, что данные в объектах localStorage или sessionStorage были изменены. Подробнее см. Web Storage API.

Общая информация

Свойства

Property Type Description
target Только для чтения EventTarget The event target (the topmost target in the DOM tree).
type Только для чтения DOMString The type of event.
bubbles Только для чтения Boolean Whether the event normally bubbles or not.
cancelable Только для чтения Boolean Whether the event is cancellable or not.
key Только для чтения DOMString (string) The key being changed.
oldValue Только для чтения DOMString (string) The old value of the key being changed.
newValue Только для чтения DOMString (string) The new value of the key being changed.
url Только для чтения DOMString (string) The address of the document whose key changed.
storageArea Только для чтения Storage The Storage object that was affected.