@empathyco/x-components
Version:
Empathy X Components
28 lines (22 loc) • 1.19 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [NextQueryPreview](./x-components.nextquerypreview.md)
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<import("vue").ExtractPropTypes<{
suggestion: {
type: PropType<NextQuery>;
required: true;
};
maxItemsToRender: NumberConstructor;
}>, {
suggestionResults: import("vue").ComputedRef<PreviewResults | undefined>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
suggestion: {
type: PropType<NextQuery>;
required: true;
};
maxItemsToRender: NumberConstructor;
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```