@empathyco/x-components
Version:
Empathy X Components
23 lines (14 loc) • 1.43 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QuerySuggestionsXEvents](./x-components.querysuggestionsxevents.md)
## QuerySuggestionsXEvents interface
Dictionary of the events of QuerySuggestions XModule, where each key is the event name, and the value is the event payload type or `void` if it has no payload.
**Signature:**
```typescript
export interface QuerySuggestionsXEvents
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [QuerySuggestionsChanged](./x-components.querysuggestionsxevents.querysuggestionschanged.md) | | Suggestion\[\] | Query suggestions have been changed. Payload: The new [query suggestions](./x-types.suggestion.md)<!-- -->. |
| [QuerySuggestionsRequestUpdated](./x-components.querysuggestionsxevents.querysuggestionsrequestupdated.md) | | QuerySuggestionsRequest \| null | Any property of the query-suggestions request has changed. Payload: The new query suggestions request or <code>null</code> if there is not enough data in the state to conform a valid request. |
| [UserSelectedAQuerySuggestion](./x-components.querysuggestionsxevents.userselectedaquerysuggestion.md) | | Suggestion | User selected a query suggestion Payload: The [query suggestion](./x-types.suggestion.md) that the user selected. |