UNPKG

@empathyco/x-components

Version:
34 lines (26 loc) 1.45 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [ResultsList](./x-components.resultslist.md) ## ResultsList variable 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, { [key: string]: 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>; }, {}> ```