Home > widget-integration > FilterHelper > setLocalStorage
FilterHelper.setLocalStorage() method
Sets a value in localStorage
Signature:
setLocalStorage(key: string, value: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string |
The localStorage key |
|
value |
string |
The value to store |
Returns:
void