mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Jeremy Elbourn
parent
1bc8bc4b91
commit
0bf7ccbde8
@@ -1,5 +1,5 @@
|
||||
<mat-form-field class="example-chip-list">
|
||||
<mat-chip-list #chipList>
|
||||
<mat-chip-list #chipList aria-label="Fruit selection">
|
||||
<mat-chip
|
||||
*ngFor="let fruit of fruits"
|
||||
[selectable]="selectable"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<mat-form-field class="example-chip-list">
|
||||
<mat-chip-list #chipList>
|
||||
<mat-chip-list #chipList aria-label="Fruit selection">
|
||||
<mat-chip *ngFor="let fruit of fruits" [selectable]="selectable"
|
||||
[removable]="removable" (removed)="remove(fruit)">
|
||||
{{fruit.name}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<mat-chip-list>
|
||||
<mat-chip-list aria-label="Fish selection">
|
||||
<mat-chip>One fish</mat-chip>
|
||||
<mat-chip>Two fish</mat-chip>
|
||||
<mat-chip color="primary" selected>Primary fish</mat-chip>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<mat-chip-list class="mat-chip-list-stacked">
|
||||
<mat-chip-list class="mat-chip-list-stacked" aria-label="Color selection">
|
||||
<mat-chip *ngFor="let chip of availableColors" selected [color]="chip.color">
|
||||
{{chip.name}}
|
||||
</mat-chip>
|
||||
|
||||
Reference in New Issue
Block a user