Skip to main content

onStorageChange

onStorageChange(key: string,listener: ): void

Listen to a change in the localstorage

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
keystring: key of the local storage entry
listener: a function receiving the old value an the new value