Lynx

lynx: unsubscribeSessionStorage() static method

The lynx.unsubscribeSessionStorage method is used to cancel the listener 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. After cancellation, the cached data corresponding to this key will no longer be listened to.

Syntax

lynx.unsubscribeSessionStorage(key, id);

Parameters

key

The key for the cached data, used to retrieve data and listen for changes.

id

The ID for the data change listener. Use the ID returned by lynx.subscribeSessionStorage to cancel the listener.

Return Value

None (undefined).

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.