You are viewing API docs for version 1.89.3.

View latest

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