Skip to content

Commit 569f9c4

Browse files
docs(material/chips): the ending > tag markers and add description
Change the ending > tag markers to be on the same line as their opening and add more description about chips avatar example
1 parent f05b469 commit 569f9c4

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<mat-chip-list aria-label="Dog selection">
22
<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>
66
Dog one
77
</mat-chip>
88
<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>
1212
Dog two
1313
</mat-chip>
1414
<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>
1818
Dog three
1919
</mat-chip>
2020
</mat-chip-list>

src/components-examples/material/chips/chips-avatar/chips-avatar-example.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import {Component} from '@angular/core';
22

33
/**
44
* @title Chips avatar
5+
* @description An avatar inside a chip
56
*/
67
@Component({
78
selector: 'chips-avatar-example',

0 commit comments

Comments
 (0)