File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
src/components-examples/material/chips/chips-avatar Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
< mat-chip-list aria-label ="Dog selection ">
2
2
< mat-chip >
3
- < mat-chip-avatar
4
- > < img src ="https://material.angular.io/assets/img/examples/shiba1.jpg " alt ="shiba1 image "
5
- /> </ mat-chip-avatar >
3
+ < mat-chip-avatar >
4
+ < img src ="https://material.angular.io/assets/img/examples/shiba1.jpg " alt ="shiba1 image "/>
5
+ </ mat-chip-avatar >
6
6
Dog one
7
7
</ mat-chip >
8
8
< mat-chip color ="primary ">
9
- < mat-chip-avatar
10
- > < img src ="https://material.angular.io/assets/img/examples/shiba1.jpg " alt ="shiba1 image "
11
- /> </ mat-chip-avatar >
9
+ < mat-chip-avatar >
10
+ < img src ="https://material.angular.io/assets/img/examples/shiba1.jpg " alt ="shiba1 image "/>
11
+ </ mat-chip-avatar >
12
12
Dog two
13
13
</ mat-chip >
14
14
< mat-chip color ="accent ">
15
- < mat-chip-avatar
16
- > < img src ="https://material.angular.io/assets/img/examples/shiba1.jpg " alt ="shiba1 image "
17
- /> </ mat-chip-avatar >
15
+ < mat-chip-avatar >
16
+ < img src ="https://material.angular.io/assets/img/examples/shiba1.jpg " alt ="shiba1 image "/>
17
+ </ mat-chip-avatar >
18
18
Dog three
19
19
</ mat-chip >
20
20
</ mat-chip-list >
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import {Component} from '@angular/core';
2
2
3
3
/**
4
4
* @title Chips avatar
5
+ * @description An avatar inside a chip
5
6
*/
6
7
@Component ( {
7
8
selector : 'chips-avatar-example' ,
You can’t perform that action at this time.
0 commit comments