@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
Parameter | Type | Description |
---|---|---|
searchTerm | string | Search term that is searched |
callback | (results: SearchResult[]) => void | Callback containing the results |
void