UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 754 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [NextQueriesMutations](./x-components.nextqueriesmutations.md) &gt; [setResultsPreview](./x-components.nextqueriesmutations.setresultspreview.md) ## NextQueriesMutations.setResultsPreview() method Adds a new entry to the result's dictionary. **Signature:** ```typescript setResultsPreview(resultsPreview: Dictionary<PreviewResults>): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | resultsPreview | Dictionary&lt;PreviewResults&gt; | Object containing the next query, the totalResults and the results to add. | **Returns:** void