UNPKG

@empathyco/x-components

Version:
64 lines (58 loc) 2.24 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QueryPreviewList](./x-components.querypreviewlist.md) ## QueryPreviewList variable Renders the results previews of a list of objects with the information about the query preview, and exposes the [QueryPreview](./x-components.querypreview.md) slots to modify the content. The requests are made in sequential order. **Signature:** ```typescript _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ queriesPreviewInfo: { type: PropType<QueryPreviewInfo[]>; required: true; }; queryFeature: { type: PropType<QueryFeature>; }; maxItemsToRender: { type: NumberConstructor; }; debounceTimeMs: { type: NumberConstructor; default: number; }; persistInCache: BooleanConstructor; animation: { type: (StringConstructor | ObjectConstructor | FunctionConstructor)[]; default: string; }; }>, { renderedQueryPreviews: import("vue").ComputedRef<QueryPreviewInfo[]>; flagAsFailed: (failedQuery: string) => void; flagAsLoaded: (loadedQuery: string) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ queriesPreviewInfo: { type: PropType<QueryPreviewInfo[]>; required: true; }; queryFeature: { type: PropType<QueryFeature>; }; maxItemsToRender: { type: NumberConstructor; }; debounceTimeMs: { type: NumberConstructor; default: number; }; persistInCache: BooleanConstructor; animation: { type: (StringConstructor | ObjectConstructor | FunctionConstructor)[]; default: string; }; }>> & Readonly<{}>, { persistInCache: boolean; debounceTimeMs: number; animation: string | Function | Record<string, any>; }, {}, { QueryPreview: import("vue").DefineComponent<{}, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any> ```