Home > widget-integration > FilterHelper > getLocalStorage
FilterHelper.getLocalStorage() method
Gets a value from localStorage
Signature:
getLocalStorage(key: string): string | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string |
The localStorage key |
Returns:
string | null
The stored value or null