@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 568 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewActions](./x-components.queriespreviewactions.md) > [fetchAndSaveQueryPreview](./x-components.queriespreviewactions.fetchandsavequerypreview.md)
## QueriesPreviewActions.fetchAndSaveQueryPreview property
Requests the results for a cacheable query preview and saves them in the state.
**Signature:**
```typescript
fetchAndSaveQueryPreview: (request: SearchRequest) => void;
```