@empathyco/x-components
Version:
Empathy X Components
24 lines (15 loc) • 1.26 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QuerySuggestionsConfig](./x-components.querysuggestionsconfig.md)
## QuerySuggestionsConfig interface
Configuration options for the [QuerySuggestionsXModule](./x-components.querysuggestionsxmodule.md)<!-- -->.
**Signature:**
```typescript
export interface QuerySuggestionsConfig
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [debounceInMs](./x-components.querysuggestionsconfig.debounceinms.md) | | number | Debounce time measured in milliseconds used to store the query suggestions module query while the user is typing a query. |
| [hideIfEqualsQuery](./x-components.querysuggestionsconfig.hideifequalsquery.md) | | boolean | Hides the suggestion if it is equal to the current query. |
| [hideSessionQueries](./x-components.querysuggestionsconfig.hidesessionqueries.md) | | boolean | Hides the query suggestions if it has been already searched during the session. |
| [maxItemsToRequest](./x-components.querysuggestionsconfig.maxitemstorequest.md) | | number | Maximum number of query suggestions to request. |