Skip to main content

@mapgear/geoapps > Search > AutoComplete

Search.AutoComplete() method

Generate an autocomplete list for the search results

Signature:
AutoComplete(searchTerm: string, callback: (results: SearchResult[]) => void): void;

Parameters

ParameterTypeDescription
searchTermstringSearch term that is searched
callback(results: SearchResult[]) => voidCallback containing the results
Returns:

void