Home > widget-integration > InstantSearchModule > handleRecentSearchClick

InstantSearchModule.handleRecentSearchClick() method

Handle clicks on popular suggestions and no-result suggestions to save them as recent searches.

Signature:

protected handleRecentSearchClick(event: MouseEvent): void;

Parameters

Parameter

Type

Description

event

MouseEvent

The click event

Returns:

void