Function: onStorageChange
▸ onStorageChange(key, listener): void
Listen to a change in the localstorage
Parameters
| Name | Type | Description | 
|---|---|---|
key | string | : key of the local storage entry | 
listener | (newValue: any, oldValue: any) => void | : a function receiving the old value an the new value | 
Returns
void
Defined in
onekijs/packages/onekijs-framework/src/utils/storage.ts:89