Lynx

lynx: getSessionStorageItem() static method

The lynx.getSessionStorageItem method is used to retrieve 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

lynx.getSessionStorageItem(key, (value) => {});

Parameters

key

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

callback

The callback function for retrieving cached data. The argument is the cached data object.

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.