@empathyco/x-components
Version:
Empathy X Components
44 lines (38 loc) • 1.43 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ItemsList](./x-components.itemslist.md)
## ItemsList variable
It renders a list of [ListItem](./x-components.listitem.md) providing a slot for each `slotName` which depends on the `modelName`<!-- -->of the item.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
default: string;
};
items: {
type: PropType<ListItem[]>;
required: true;
};
itemClass: StringConstructor;
}, {
computedItems: import("vue").ComputedRef<{
dataTest: string;
class: (string | undefined)[];
slotName: string;
id: string | number;
modelName: string;
}[]>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
default: string;
};
items: {
type: PropType<ListItem[]>;
required: true;
};
itemClass: StringConstructor;
}>>, {
animation: string | Function | Record<string, any>;
}, {}>
```