@@ -5,8 +5,36 @@ <h4 class="demo-section-header">Buttons</h4>
5
5
< button mat-raised-button > raised</ button >
6
6
< button mat-stroked-button > stroked</ button >
7
7
< button mat-flat-button > flat</ button >
8
- < button mat-fab > < mat-icon > check</ mat-icon > </ button >
9
- < button mat-mini-fab > < mat-icon > check</ mat-icon > </ button >
8
+ < button mat-fab >
9
+ < mat-icon > check</ mat-icon >
10
+ </ button >
11
+ < button mat-mini-fab >
12
+ < mat-icon > check</ mat-icon >
13
+ </ button >
14
+ < button mat-fab extended > Search</ button >
15
+ < button mat-fab extended >
16
+ < mat-icon > check</ mat-icon >
17
+ Search
18
+ < mat-icon iconPositionEnd > check</ mat-icon >
19
+ </ button >
20
+ </ section >
21
+ < section >
22
+ < button mat-button disabled > normal</ button >
23
+ < button mat-raised-button disabled > raised</ button >
24
+ < button mat-stroked-button disabled > stroked</ button >
25
+ < button mat-flat-button disabled > flat</ button >
26
+ < button mat-fab disabled >
27
+ < mat-icon > check</ mat-icon >
28
+ </ button >
29
+ < button mat-mini-fab disabled >
30
+ < mat-icon > check</ mat-icon >
31
+ </ button >
32
+ < button mat-fab extended disabled > Search</ button >
33
+ < button mat-fab extended disabled >
34
+ < mat-icon > check</ mat-icon >
35
+ Search
36
+ < mat-icon iconPositionEnd > check</ mat-icon >
37
+ </ button >
10
38
</ section >
11
39
12
40
< h4 class ="demo-section-header "> Anchors</ h4 >
@@ -15,8 +43,36 @@ <h4 class="demo-section-header">Anchors</h4>
15
43
< a href ="//www.google.com " mat-raised-button > SEARCH</ a >
16
44
< a href ="//www.google.com " mat-stroked-button > SEARCH</ a >
17
45
< a href ="//www.google.com " mat-flat-button > SEARCH</ a >
18
- < a href ="//www.google.com " mat-fab > < mat-icon > check</ mat-icon > </ a >
19
- < a href ="//www.google.com " mat-mini-fab > < mat-icon > check</ mat-icon > </ a >
46
+ < a href ="//www.google.com " mat-fab >
47
+ < mat-icon > check</ mat-icon >
48
+ </ a >
49
+ < a href ="//www.google.com " mat-mini-fab >
50
+ < mat-icon > check</ mat-icon >
51
+ </ a >
52
+ < a href ="//www.google.com " mat-fab extended > Search</ a >
53
+ < a href ="//www.google.com " mat-fab extended >
54
+ < mat-icon > check</ mat-icon >
55
+ Search
56
+ < mat-icon iconPositionEnd > check</ mat-icon >
57
+ </ a >
58
+ </ section >
59
+ < section >
60
+ < a href ="//www.google.com " disabled mat-button color ="primary "> SEARCH</ a >
61
+ < a href ="//www.google.com " disabled mat-raised-button > SEARCH</ a >
62
+ < a href ="//www.google.com " disabled mat-stroked-button color ="primary "> SEARCH</ a >
63
+ < a href ="//www.google.com " disabled mat-flat-button > SEARCH</ a >
64
+ < a href ="//www.google.com " disabled mat-fab >
65
+ < mat-icon > check</ mat-icon >
66
+ </ a >
67
+ < a href ="//www.google.com " disabled mat-mini-fab >
68
+ < mat-icon > check</ mat-icon >
69
+ </ a >
70
+ < a href ="//www.google.com " disabled mat-fab extended > Search</ a >
71
+ < a href ="//www.google.com " disabled mat-fab extended >
72
+ < mat-icon > check</ mat-icon >
73
+ Search
74
+ < mat-icon iconPositionEnd > check</ mat-icon >
75
+ </ a >
20
76
</ section >
21
77
22
78
< h4 class ="demo-section-header "> Text Buttons [mat-button]</ h4 >
@@ -29,7 +85,7 @@ <h4 class="demo-section-header">Text Buttons [mat-button]</h4>
29
85
< button mat-button >
30
86
< mat-icon > home</ mat-icon >
31
87
with icons
32
- < mat-icon > favorite</ mat-icon >
88
+ < mat-icon iconPositionEnd > favorite</ mat-icon >
33
89
</ button >
34
90
</ section >
35
91
@@ -43,7 +99,7 @@ <h4 class="demo-section-header">Raised Buttons [mat-raised-button]</h4>
43
99
< button mat-raised-button >
44
100
< mat-icon > home</ mat-icon >
45
101
with icons
46
- < mat-icon > favorite</ mat-icon >
102
+ < mat-icon iconPositionEnd > favorite</ mat-icon >
47
103
</ button >
48
104
</ section >
49
105
@@ -57,7 +113,7 @@ <h4 class="demo-section-header">Stroked Buttons [mat-stroked-button]</h4>
57
113
< button mat-stroked-button >
58
114
< mat-icon > home</ mat-icon >
59
115
with icons
60
- < mat-icon > favorite</ mat-icon >
116
+ < mat-icon iconPositionEnd > favorite</ mat-icon >
61
117
</ button >
62
118
</ section >
63
119
@@ -71,35 +127,65 @@ <h4 class="demo-section-header">Flat Buttons [mat-flat-button]</h4>
71
127
< button mat-flat-button >
72
128
< mat-icon > home</ mat-icon >
73
129
with icons
74
- < mat-icon > favorite</ mat-icon >
130
+ < mat-icon iconPositionEnd > favorite</ mat-icon >
75
131
</ button >
76
132
</ section >
77
133
78
134
< h4 class ="demo-section-header "> Icon Buttons [mat-icon-button]</ h4 >
79
135
< section >
80
- < button mat-icon-button > < mat-icon > cached</ mat-icon > </ button >
81
- < button mat-icon-button color ="primary "> < mat-icon > cached</ mat-icon > </ button >
82
- < button mat-icon-button color ="accent "> < mat-icon > backup</ mat-icon > </ button >
83
- < button mat-icon-button color ="warn "> < mat-icon > trending_up</ mat-icon > </ button >
84
- < button mat-icon-button disabled > < mat-icon > visibility</ mat-icon > </ button >
136
+ < button mat-icon-button >
137
+ < mat-icon > cached</ mat-icon >
138
+ </ button >
139
+ < button mat-icon-button color ="primary ">
140
+ < mat-icon > cached</ mat-icon >
141
+ </ button >
142
+ < button mat-icon-button color ="accent ">
143
+ < mat-icon > backup</ mat-icon >
144
+ </ button >
145
+ < button mat-icon-button color ="warn ">
146
+ < mat-icon > trending_up</ mat-icon >
147
+ </ button >
148
+ < button mat-icon-button disabled >
149
+ < mat-icon > visibility</ mat-icon >
150
+ </ button >
85
151
</ section >
86
152
87
153
< h4 class ="demo-section-header "> Fab Buttons [mat-fab]</ h4 >
88
154
< section >
89
- < button mat-fab > < mat-icon > delete</ mat-icon > </ button >
90
- < button mat-fab color ="primary "> < mat-icon > delete</ mat-icon > </ button >
91
- < button mat-fab color ="accent "> < mat-icon > bookmark</ mat-icon > </ button >
92
- < button mat-fab color ="warn "> < mat-icon > home</ mat-icon > </ button >
93
- < button mat-fab disabled > < mat-icon > favorite</ mat-icon > </ button >
155
+ < button mat-fab >
156
+ < mat-icon > delete</ mat-icon >
157
+ </ button >
158
+ < button mat-fab color ="primary ">
159
+ < mat-icon > delete</ mat-icon >
160
+ </ button >
161
+ < button mat-fab color ="accent ">
162
+ < mat-icon > bookmark</ mat-icon >
163
+ </ button >
164
+ < button mat-fab color ="warn ">
165
+ < mat-icon > home</ mat-icon >
166
+ </ button >
167
+ < button mat-fab disabled >
168
+ < mat-icon > favorite</ mat-icon >
169
+ </ button >
94
170
</ section >
95
171
96
172
< h4 class ="demo-section-header "> Mini Fab Buttons [mat-mini-fab]</ h4 >
97
173
< section >
98
- < button mat-mini-fab > < mat-icon > menu</ mat-icon > </ button >
99
- < button mat-mini-fab color ="primary "> < mat-icon > menu</ mat-icon > </ button >
100
- < button mat-mini-fab color ="accent "> < mat-icon > plus_one</ mat-icon > </ button >
101
- < button mat-mini-fab color ="warn "> < mat-icon > filter_list</ mat-icon > </ button >
102
- < button mat-mini-fab disabled > < mat-icon > home</ mat-icon > </ button >
174
+ < button mat-mini-fab >
175
+ < mat-icon > menu</ mat-icon >
176
+ </ button >
177
+ < button mat-mini-fab color ="primary ">
178
+ < mat-icon > menu</ mat-icon >
179
+ </ button >
180
+ < button mat-mini-fab color ="accent ">
181
+ < mat-icon > plus_one</ mat-icon >
182
+ </ button >
183
+ < button mat-mini-fab color ="warn ">
184
+ < mat-icon > filter_list</ mat-icon >
185
+ </ button >
186
+ < button mat-mini-fab disabled >
187
+ < mat-icon > home</ mat-icon >
188
+ </ button >
103
189
</ section >
104
190
105
191
< h4 class ="demo-section-header "> Interaction/State</ h4 >
@@ -139,9 +225,4 @@ <h4 class="demo-section-header">Interaction/State</h4>
139
225
</ button >
140
226
</ div >
141
227
</ section >
142
-
143
- < h4 class ="demo-section-header "> Overview</ h4 >
144
- < section >
145
- < button-overview-example > </ button-overview-example >
146
- </ section >
147
228
</ div >
0 commit comments