File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ $chip-button-size: 32px !default;
15
15
/// @prop - Border radius of the icon in the chip
16
16
$chip-icon-border-radius : 50% !default ;
17
17
18
+ /// @prop - Text alignment of the icon in the chip
19
+ $chip-icon-text-align : center !default ;
20
+
18
21
/// @prop - Width and height of the icon in the chip
19
22
$chip-icon-size : 32px !default ;
20
23
@@ -56,6 +59,7 @@ ion-chip ion-icon {
56
59
57
60
font-size : $chip-icon-font-size ;
58
61
line-height : $chip-icon-size ;
62
+ text-align : $chip-icon-text-align ;
59
63
}
60
64
61
65
ion-chip ion-avatar {
Original file line number Diff line number Diff line change @@ -93,4 +93,14 @@ <h2>Delete Chips</h2>
93
93
</ button >
94
94
</ ion-chip >
95
95
96
+ < ion-item >
97
+ < ion-label > Chip Item</ ion-label >
98
+ < ion-chip item-right #chip1 >
99
+ < ion-icon name ="pin " color ="primary "> </ ion-icon >
100
+ < ion-label > Default</ ion-label >
101
+ < button ion-button clear color ="light " (click) ="delete(chip1) ">
102
+ < ion-icon name ="close-circle "> </ ion-icon >
103
+ </ button >
104
+ </ ion-chip >
105
+ </ ion-item >
96
106
</ ion-content >
You can’t perform that action at this time.
0 commit comments