@empathyco/x-components
Version:
Empathy X Components
34 lines (26 loc) • 1.45 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [ResultsList](./x-components.resultslist.md)
It renders a [ItemsList](./x-components.itemslist.md) list with the results from [SearchState.results](./x-components.searchstate.results.md) by default.
The component provides a default slot which wraps the whole component with the `results` bound.
It also provides the slot result to customize the item, which is within the default slot, with the result bound.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
default: string;
};
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "UserReachedResultsListEnd"[], "UserReachedResultsListEnd", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
default: string;
};
}>> & {
onUserReachedResultsListEnd?: ((...args: any[]) => any) | undefined;
}, {
animation: string | Function | Record<string, any>;
}, {}>
```