You are viewing API docs for version 1.89.3.

View latest

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