UNPKG

@empathyco/x-components

Version:
27 lines (15 loc) 711 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [PopularSearchesActions](./x-components.popularsearchesactions.md) &gt; [fetchSuggestions](./x-components.popularsearchesactions.fetchsuggestions.md) ## PopularSearchesActions.fetchSuggestions() method Fetches a new set of suggestions and returns them. **Signature:** ```typescript fetchSuggestions(request: PopularSearchesRequest): Suggestion[]; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | request | PopularSearchesRequest | | **Returns:** Suggestion\[\] The new set of suggestions.