UNPKG

@empathyco/x-components

Version:
28 lines (22 loc) 1.07 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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; }>>, {}, {}> ```