storage.StorageChange
StorageChange is an object representing a change to a storage area. Objects of this type are received by storage.onChanged and storage.StorageArea.onChanged event listeners.
StorageChange is an object representing a change to a storage area.
Objects of this type are received by storage.onChanged and storage.StorageArea.onChanged event listeners.
Type
StorageChange objects contain the following properties:
oldValue- : The old value of the item, if there was an old value. This can be any data type.
newValue- : The new value of the item, if there is a new value. This can be any data type.
Browser compatibility
[!NOTE] This API is based on Chromium's
chrome.storageAPI. This documentation is derived fromstorage.jsonin the Chromium code.