Skip to content

Commit 053b27c

Browse files
committedApr 17, 2024
fix: update component categories screenshots to M3
1 parent 3163040 commit 053b27c

File tree

73 files changed

+177
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+177
-237
lines changed
 

‎material.angular.io/scenes/src/app/scenes/autocomplete/autocomplete-scene.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
matInput
77
[formControl]="myControl"
88
[matAutocomplete]="auto">
9-
<mat-autocomplete #auto="matAutocomplete">
10-
<mat-option *ngFor="let option of options" [value]="option">
11-
{{option}}
12-
</mat-option>
9+
<mat-autocomplete autoActiveFirstOption #auto="matAutocomplete">
10+
@for (option of options; track option) {
11+
<mat-option [value]="option">{{option}}</mat-option>
12+
}
1313
</mat-autocomplete>
1414
</mat-form-field>
1515
</form>
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<mat-list>
22
<mat-list-item>
3-
<mat-icon>favorite</mat-icon>
4-
Favorite
3+
<mat-icon matListItemIcon>favorite</mat-icon>
4+
<div matListItemTitle>Favorite</div>
55
</mat-list-item>
66
<mat-list-item>
7-
<mat-icon>share</mat-icon>
8-
Share
7+
<mat-icon matListItemIcon>share</mat-icon>
8+
<div matListItemTitle>Share</div>
99
</mat-list-item>
1010
</mat-list>

0 commit comments

Comments
 (0)
Please sign in to comment.