Home > widget-integration > InstantSearchModule > openSuggestion

InstantSearchModule.openSuggestion() method

Open suggestion dropdown/overlay.

**Legacy**: openSuggestion(context, input) / onOpenSuggestion(context, input) **New**: openSuggestion(input?)

Signature:

openSuggestion(input?: HTMLInputElement): void;

Parameters

Parameter

Type

Description

input

HTMLInputElement

(Optional) Optional input element to open for

Returns:

void