From 1ea7efab8e93a6bc5e2aceb0849ff0a7a3fa747b Mon Sep 17 00:00:00 2001 From: sivakumar414ram Date: Fri, 13 Dec 2019 13:53:18 +0530 Subject: [PATCH] * Updated doc --- docs/core/components/card-view.component.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/core/components/card-view.component.md b/docs/core/components/card-view.component.md index 3ea61413fc..4ba5e20d7c 100644 --- a/docs/core/components/card-view.component.md +++ b/docs/core/components/card-view.component.md @@ -90,7 +90,10 @@ Defining properties from Typescript: new CardViewArrayItemModel({ label: 'Array of items', value: '', - items$: of(['One', 'Two', 'Three', 'Four']), + items$: of([ + { icon: 'person', value: 'One' }, { icon: 'person', value: 'Two' }, + { icon: 'person', value: 'Three' }, { icon: 'person', value: 'Four' } + ]), key: 'array', default: 'Empty', noOfItemsToDisplay: 2 @@ -358,7 +361,7 @@ const arrayItemProperty = new CardViewArrayItemModel(items); | label\* | string | | Item label | | key\* | string | | Identifying key (important when editing the item) | | editable | boolean | false | Toggles whether the item is editable | -| value | [`Observable`](http://reactivex.io/documentation/observable.html)<`string`\[]> | | The original data value for the item | +| value | [`Observable`](http://reactivex.io/documentation/observable.html)<[`CardViewArrayItem`](../../../lib/core/card-view/models/card-view-arrayitem.model.ts)\[]> | | The original data value for the item | ## See also