Skip to content

Commit a83ecf5

Browse files
committed
sync
1 parent fa4c31a commit a83ecf5

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

src/demo-app/a11y/list/list-a11y.html

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
<section>
33
<h2> Seasoning </h2>
44
<p>Showing a non-interactive list of seasonings.</p>
5-
<md-list role="list">
6-
<md-list-item *ngFor="let item of items"> {{item}} </md-list-item>
7-
</md-list>
5+
<mat-list role="list">
6+
<mat-list-item *ngFor="let item of items"> {{item}} </mat-list-item>
7+
</mat-list>
88
</section>
99

1010

1111
<section>
1212
<h2>Mailbox navigation</h2>
1313
<p>Showing a navigation list with links to google search</p>
14-
<md-nav-list>
15-
<a md-list-item *ngFor="let link of links"
14+
<mat-nav-list>
15+
<a mat-list-item *ngFor="let link of links"
1616
href="https://www.google.com/search?q={{link.name}}">
1717
{{link.name}}
1818
</a>
19-
</md-nav-list>
19+
</mat-nav-list>
2020
</section>
2121

2222
<section>
@@ -25,42 +25,42 @@ <h2>Messages</h2>
2525
Showing a list of messages, where each message item has sender's name, sender's avatar,
2626
message subject, and content of the message.
2727
</p>
28-
<md-list role="list">
29-
<md-list-item *ngFor="let message of messages">
30-
<img md-list-avatar [src]="message.image" [alt]="message.from">
31-
<h3 md-line> {{message.from}} </h3>
32-
<p md-line> {{message.subject}} </p>
33-
<p md-line class="demo-secondary-text"> {{message.message}} </p>
34-
</md-list-item>
35-
</md-list>
28+
<mat-list role="list">
29+
<mat-list-item *ngFor="let message of messages">
30+
<img mat-list-avatar [src]="message.image" [alt]="message.from">
31+
<h3 mat-line> {{message.from}} </h3>
32+
<p mat-line> {{message.subject}} </p>
33+
<p mat-line class="demo-secondary-text"> {{message.message}} </p>
34+
</mat-list-item>
35+
</mat-list>
3636

3737
</section>
3838

3939
<section>
4040
<h2>Seasoning</h2>
4141
<p>Showing a non-interactive list of seasonings with dense style.</p>
42-
<md-list dense>
43-
<md-list-item *ngFor="let item of items"> {{item}} </md-list-item>
44-
</md-list>
42+
<mat-list dense>
43+
<mat-list-item *ngFor="let item of items"> {{item}} </mat-list-item>
44+
</mat-list>
4545
</section>
4646

4747
<section>
4848
<h2>Folders and notes for mailbox </h2>
4949
<p>Showing a list with two sections, "folders" and "notes".</p>
50-
<md-list role="list">
51-
<h3 md-subheader>Folders</h3>
52-
<md-list-item *ngFor="let folder of folders">
53-
<md-icon md-list-icon>folder</md-icon>
54-
<h4 md-line>{{folder.name}}</h4>
55-
<p md-line class="demo-secondary-text"> {{folder.updated}} </p>
56-
</md-list-item>
57-
<md-divider></md-divider>
58-
<h3 md-subheader>Notes</h3>
59-
<md-list-item *ngFor="let note of notes">
60-
<md-icon md-list-icgon>note</md-icon>
61-
<h4 md-line>{{note.name}}</h4>
62-
<p md-line class="demo-secondary-text"> {{note.updated}} </p>
63-
</md-list-item>
64-
</md-list>
50+
<mat-list role="list">
51+
<h3 mat-subheader>Folders</h3>
52+
<mat-list-item *ngFor="let folder of folders">
53+
<mat-icon mat-list-icon>folder</mat-icon>
54+
<h4 mat-line>{{folder.name}}</h4>
55+
<p mat-line class="demo-secondary-text"> {{folder.updated}} </p>
56+
</mat-list-item>
57+
<mat-divider></mat-divider>
58+
<h3 mat-subheader>Notes</h3>
59+
<mat-list-item *ngFor="let note of notes">
60+
<mat-icon mat-list-icgon>note</mat-icon>
61+
<h4 mat-line>{{note.name}}</h4>
62+
<p mat-line class="demo-secondary-text"> {{note.updated}} </p>
63+
</mat-list-item>
64+
</mat-list>
6565
</section>
6666
</div>

src/material-examples/list-overview/list-overview-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<md-list role="list">
1+
<mat-list role="list">
22
<mat-list-item>Item 1</mat-list-item>
33
<mat-list-item>Item 2</mat-list-item>
44
<mat-list-item>Item 3</mat-list-item>

0 commit comments

Comments
 (0)