Home > @yext/search-ui-react > executeAutocomplete
Executes a universal/vertical autocomplete search and return the corresponding response.
Signature:
export declare function executeAutocomplete(searchActions: SearchActions): Promise<AutocompleteResponse | undefined>;
Parameter | Type | Description |
---|---|---|
searchActions | SearchActions |
Returns:
Promise<AutocompleteResponse | undefined>