foundation-comms.session.getlocalstorageitem
Home > @genesislcap/foundation-comms > Session > getLocalStorageItem
Session.getLocalStorageItem() method
Returns the value of the item with the specified key from the local storage.
Signature:
getLocalStorageItem(key: string | UserInfoKeys): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string | UserInfoKeys |
The key of the item to get. |
Returns:
string
- The value of the item with the specified key.