foundation-comms.session.setsessionstorageitem
Home > @genesislcap/foundation-comms > Session > setSessionStorageItem
Session.setSessionStorageItem() method
Sets an item in the session storage with the specified key and value.
Signature:
setSessionStorageItem(key: string | UserInfoKeys, value: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string | UserInfoKeys |
The key to set. |
|
value |
string |
The value to set. |
Returns:
void