@empathyco/x-components
Version:
Empathy X Components
97 lines (43 loc) • 1.71 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
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[QuerySuggestionsChanged](./x-components.querysuggestionsxevents.querysuggestionschanged.md)
</td><td>
</td><td>
Suggestion\[\]
</td><td>
Query suggestions have been changed. Payload: The new [query suggestions](./x-types.suggestion.md)<!-- -->.
</td></tr>
<tr><td>
[QuerySuggestionsRequestUpdated](./x-components.querysuggestionsxevents.querysuggestionsrequestupdated.md)
</td><td>
</td><td>
QuerySuggestionsRequest \| null
</td><td>
Any property of the query-suggestions request has changed. Payload: The new query suggestions request or `null` if there is not enough data in the state to conform a valid request.
</td></tr>
<tr><td>
[UserSelectedAQuerySuggestion](./x-components.querysuggestionsxevents.userselectedaquerysuggestion.md)
</td><td>
</td><td>
Suggestion
</td><td>
User selected a query suggestion Payload: The [query suggestion](./x-types.suggestion.md) that the user selected.
</td></tr>
</tbody></table>