UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 750 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QueriesPreviewActions](./x-components.queriespreviewactions.md) &gt; [fetchAndSaveQueryPreview](./x-components.queriespreviewactions.fetchandsavequerypreview.md) ## QueriesPreviewActions.fetchAndSaveQueryPreview() method Requests the results for a cacheable query preview and saves them in the state. **Signature:** ```typescript fetchAndSaveQueryPreview(request: SearchRequest): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | request | SearchRequest | The request object to retrieve the query preview. | **Returns:** void