Home > @yext/search-ui-react > getSearchIntents
Get search intents of the current query stored in headless using autocomplete request.
Signature:
export declare function getSearchIntents(searchActions: SearchActions): Promise<SearchIntent[] | undefined>;
Parameter | Type | Description |
---|---|---|
searchActions | SearchActions |
Returns:
Promise<SearchIntent[] | undefined>