@empathyco/x-components
Version:
Empathy X Components
62 lines (56 loc) • 2.06 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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>;
}, {}>
```