UNPKG

@empathyco/x-components

Version:
62 lines (56 loc) 2.06 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<{ 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; }, unknown, {}, {}, 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; }; }>>, { debounceTimeMs: number; persistInCache: boolean; animation: string | Function | Record<string, any>; }, {}> ```