Home > widget-integration > InstantSearchController > openSuggestion
InstantSearchController.openSuggestion() method
Open suggestion dropdown/overlay.
**Legacy**: openSuggestion() / onOpenSuggestion() **New**: openSuggestion(input) with state management
Signature:
openSuggestion(input: HTMLInputElement): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
input |
HTMLInputElement |
Input element to open suggestions for |
Returns:
Promise<void>