@empathyco/x-components
Version:
Empathy X Components
23 lines (14 loc) • 1.18 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [PopularSearchesActions](./x-components.popularsearchesactions.md)
## PopularSearchesActions interface
Popular searches module actions.
**Signature:**
```typescript
export interface PopularSearchesActions
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [cancelFetchAndSaveSuggestions](./x-components.popularsearchesactions.cancelfetchandsavesuggestions.md) | | () => void | Cancels / interrupt [PopularSearchesActions.fetchAndSaveSuggestions](./x-components.popularsearchesactions.fetchandsavesuggestions.md) synchronous promise. |
| [fetchAndSaveSuggestions](./x-components.popularsearchesactions.fetchandsavesuggestions.md) | | (request: PopularSearchesRequest) => void | Fetches a new set of suggestions and stores them in the module state. |
| [fetchSuggestions](./x-components.popularsearchesactions.fetchsuggestions.md) | | (request: PopularSearchesRequest) => Suggestion\[\] | Fetches a new set of suggestions and returns them. |