File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
material-examples/chips-stacked Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ between the two components. This directive adds chip-specific behaviors to the i
35
35
within ` <mat-form-field> ` for adding and removing chips. The ` <input> ` with ` MatChipInput ` can
36
36
be placed inside or outside the chip-list element.
37
37
38
- An exmaple of chip input placed inside the chip-list element.
38
+ An example of chip input placed inside the chip-list element.
39
39
<!-- example(chips-input) -->
40
40
41
41
An example of chip input placed outside the chip-list element.
Original file line number Diff line number Diff line change 1
1
< mat-chip-list class ="mat-chip-list-stacked ">
2
- < mat-chip *ngFor ="let chipColor of availableColors "
3
- selected ="true "
4
- color ="{{chipColor.color}} ">
5
- {{chipColor.name}}
2
+ < mat-chip *ngFor ="let chip of availableColors " selected ="true " [color] ="chip.color ">
3
+ {{chip.name}}
6
4
</ mat-chip >
7
5
</ mat-chip-list >
You can’t perform that action at this time.
0 commit comments