lynx: subscribeSessionStorage() static method
The lynx.subscribeSessionStorage method is used to listen for changes in data shared across multiple LynxViews. This enables data sharing between multiple pages via SessionStorage. You can call lynx.setSessionStorageItem to set the cached data.
Syntax
Parameters
key
The key for the cached data, used to retrieve data and listen for changes.
callback
The callback function for listening to cached data. The argument is the cached data object.
Return Value
id: number, the ID for the data change listener, which can be used to cancel the listener.
Compatibility
LCD tables only load in the browser