mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2614] Edit icon misses in Info-drawer Assignee (#3145)
* [DW-488] Edit icon misses in Info-drawer Assignee * * Added unit testcases for the recent changes . * * Updated card-view doc for the recent changes made. * * Fixed failing taskHeader testcases
This commit is contained in:
@@ -55,6 +55,7 @@ export interface CardViewItem {
|
||||
type: string;
|
||||
displayValue: string;
|
||||
editable?: boolean;
|
||||
icon?: string;
|
||||
}
|
||||
```
|
||||
|
||||
@@ -77,7 +78,8 @@ Each of them extends the abstract CardViewBaseItemModel class to add some custom
|
||||
value: 'Spock',
|
||||
key: 'name',
|
||||
default: 'default bar' ,
|
||||
multiline: false
|
||||
multiline: false,
|
||||
icon: 'icon';
|
||||
}),
|
||||
new CardViewMapItemModel({
|
||||
label: 'My map',
|
||||
@@ -141,6 +143,7 @@ const textItemProperty = new CardViewTextItemModel(options);
|
||||
| displayValue\* | string | --- | The value to render |
|
||||
| editable | boolean | false | Whether the property editable or not |
|
||||
| clickable | boolean | false | Whether the property clickable or not |
|
||||
| icon | string | The material icon to show against the clickable property |
|
||||
| multiline | string | false | Single or multiline text |
|
||||
| pipes | CardViewTextItemPipeProperty\[] | \[] | Pipes to be applied on the displayValue |
|
||||
|
||||
|
Reference in New Issue
Block a user