@empathyco/x-components
Version:
Empathy X Components
28 lines (22 loc) • 1.07 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [NextQueryPreview](./x-components.nextquerypreview.md)
## NextQueryPreview variable
Retrieves a preview of the results of a next query and exposes them in the default slot, along with the next query and the totalResults of the search request. By default, it renders the names of the results.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
suggestion: {
type: PropType<NextQuery>;
required: true;
};
maxItemsToRender: NumberConstructor;
}, {
suggestionResults: import("vue").ComputedRef<PreviewResults | undefined>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
suggestion: {
type: PropType<NextQuery>;
required: true;
};
maxItemsToRender: NumberConstructor;
}>>, {}, {}>
```