2
2
< section >
3
3
< h2 > Seasoning </ h2 >
4
4
< 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>
8
8
</ section >
9
9
10
10
11
11
< section >
12
12
< h2 > Mailbox navigation</ h2 >
13
13
< 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 "
16
16
href ="https://www.google.com/search?q={{link.name}} ">
17
17
{{link.name}}
18
18
</ a >
19
- </ md -nav-list>
19
+ </ mat -nav-list>
20
20
</ section >
21
21
22
22
< section >
@@ -25,42 +25,42 @@ <h2>Messages</h2>
25
25
Showing a list of messages, where each message item has sender's name, sender's avatar,
26
26
message subject, and content of the message.
27
27
</ 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>
36
36
37
37
</ section >
38
38
39
39
< section >
40
40
< h2 > Seasoning</ h2 >
41
41
< 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>
45
45
</ section >
46
46
47
47
< section >
48
48
< h2 > Folders and notes for mailbox </ h2 >
49
49
< 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>
65
65
</ section >
66
66
</ div >
0 commit comments