add click callback and remove icon if is not editable (#4516)

This commit is contained in:
Eugenio Romano
2019-03-28 18:52:43 +00:00
committed by GitHub
parent 71fc1fd039
commit 944ca8e5d8
11 changed files with 60 additions and 18 deletions

View File

@@ -23,7 +23,7 @@ export interface CardViewItemProperties {
key: any;
default?: any;
editable?: boolean;
clickable?: boolean;
clickable?: any;
icon?: string;
validators?: CardViewItemValidator[];
data?: any;

View File

@@ -21,4 +21,5 @@ import { CardViewTextItemPipeProperty } from './card-view-textitem-pipe-property
export interface CardViewTextItemProperties extends CardViewItemProperties {
multiline?: boolean;
pipes?: CardViewTextItemPipeProperty[];
clickCallBack?: any;
}