@empathyco/x-components
Version:
Empathy X Components
116 lines (51 loc) • 1.61 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
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[debounceInMs](./x-components.querysuggestionsconfig.debounceinms.md)
</td><td>
</td><td>
number
</td><td>
Debounce time measured in milliseconds used to store the query suggestions module query while the user is typing a query.
</td></tr>
<tr><td>
[hideIfEqualsQuery](./x-components.querysuggestionsconfig.hideifequalsquery.md)
</td><td>
</td><td>
boolean
</td><td>
Hides the suggestion if it is equal to the current query.
</td></tr>
<tr><td>
[hideSessionQueries](./x-components.querysuggestionsconfig.hidesessionqueries.md)
</td><td>
</td><td>
boolean
</td><td>
Hides the query suggestions if it has been already searched during the session.
</td></tr>
<tr><td>
[maxItemsToRequest](./x-components.querysuggestionsconfig.maxitemstorequest.md)
</td><td>
</td><td>
number
</td><td>
Maximum number of query suggestions to request.
</td></tr>
</tbody></table>