Home > widget-integration > InstantSearchModule > getSuggestionData

InstantSearchModule.getSuggestionData() method

Get current suggestion data.

**Legacy**: context.useContextState('instant-search')[0]() **New**: getSuggestionData()

Signature:

getSuggestionData(): SuggestionData | null;

Returns:

SuggestionData | null

Current suggestion data or null