UNPKG

@empathyco/x-components

Version:
116 lines (51 loc) 1.61 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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>