3
3
< md-card-content >
4
4
< form >
5
5
< md-input-container class ="demo-full-width ">
6
- < input md-input placeholder ="Company (disabled) " disabled value ="Google ">
6
+ < input mdInput placeholder ="Company (disabled) " disabled value ="Google ">
7
7
</ md-input-container >
8
8
9
9
< table style ="width: 100% " cellspacing ="0 "> < tr >
10
10
< td >
11
11
< md-input-container style ="width: 100% ">
12
- < input md-input placeholder ="First name ">
12
+ < input mdInput placeholder ="First name ">
13
13
</ md-input-container >
14
14
</ td >
15
15
< td >
16
16
< md-input-container style ="width: 100% ">
17
- < input md-input placeholder ="Long Last Name That Will Be Truncated ">
17
+ < input mdInput placeholder ="Long Last Name That Will Be Truncated ">
18
18
</ md-input-container >
19
19
</ td >
20
20
</ tr > </ table >
21
21
< p >
22
22
< md-input-container class ="demo-full-width ">
23
- < textarea md-input placeholder ="Address "> 1600 Amphitheatre Pkway</ textarea >
23
+ < textarea mdInput placeholder ="Address "> 1600 Amphitheatre Pkway</ textarea >
24
24
</ md-input-container >
25
25
< md-input-container class ="demo-full-width ">
26
- < textarea md-input placeholder ="Address 2 "> </ textarea >
26
+ < textarea mdInput placeholder ="Address 2 "> </ textarea >
27
27
</ md-input-container >
28
28
</ p >
29
29
< table style ="width: 100% " cellspacing ="0 "> < tr >
30
30
< td >
31
31
< md-input-container class ="demo-full-width ">
32
- < input md-input placeholder ="City " value ="Mountain View ">
32
+ < input mdInput placeholder ="City " value ="Mountain View ">
33
33
</ md-input-container >
34
34
</ td >
35
35
< td >
36
36
< md-input-container class ="demo-full-width ">
37
- < input md-input placeholder ="State " maxLength ="2 " value ="CA ">
37
+ < input mdInput placeholder ="State " maxLength ="2 " value ="CA ">
38
38
</ md-input-container >
39
39
</ td >
40
40
< td >
41
41
< md-input-container class ="demo-full-width ">
42
- < input md-input #postalCode maxLength ="5 " placeholder ="Postal Code " value ="94043 ">
42
+ < input mdInput #postalCode maxLength ="5 " placeholder ="Postal Code " value ="94043 ">
43
43
< md-hint align ="end "> {{postalCode.value.length}} / 5</ md-hint >
44
44
</ md-input-container >
45
45
</ td >
52
52
< md-toolbar color ="primary "> Prefix + Suffix</ md-toolbar >
53
53
< md-card-content >
54
54
< md-input-container align ="end ">
55
- < input md-input placeholder ="amount ">
55
+ < input mdInput placeholder ="amount ">
56
56
< span md-prefix > $ </ span >
57
57
< span md-suffix > .00</ span >
58
58
</ md-input-container >
64
64
< md-card-content >
65
65
< h4 > Input</ h4 >
66
66
< md-input-container dividerColor ="primary " >
67
- < input md-input placeholder ="Default Color " value ="example ">
67
+ < input mdInput placeholder ="Default Color " value ="example ">
68
68
</ md-input-container >
69
69
< md-input-container dividerColor ="accent ">
70
- < input md-input placeholder ="Accent Color " value ="example ">
70
+ < input mdInput placeholder ="Accent Color " value ="example ">
71
71
</ md-input-container >
72
72
< md-input-container dividerColor ="warn ">
73
- < input md-input placeholder ="Warn Color " value ="example ">
73
+ < input mdInput placeholder ="Warn Color " value ="example ">
74
74
</ md-input-container >
75
75
76
76
< h4 > Textarea</ h4 >
77
77
< md-input-container dividerColor ="primary ">
78
- < textarea md-input placeholder ="Default Color "> example</ textarea >
78
+ < textarea mdInput placeholder ="Default Color "> example</ textarea >
79
79
</ md-input-container >
80
80
< md-input-container dividerColor ="accent ">
81
- < textarea md-input placeholder ="Accent Color "> example</ textarea >
81
+ < textarea mdInput placeholder ="Accent Color "> example</ textarea >
82
82
</ md-input-container >
83
83
< md-input-container dividerColor ="warn ">
84
- < textarea md-input placeholder ="Warn Color "> example</ textarea >
84
+ < textarea mdInput placeholder ="Warn Color "> example</ textarea >
85
85
</ md-input-container >
86
86
</ md-card-content >
87
87
</ md-card >
@@ -118,33 +118,33 @@ <h4>Textarea</h4>
118
118
< md-toolbar color ="primary ">
119
119
Hello
120
120
< md-input-container dividerColor ="accent ">
121
- < input md-input [(ngModel)] ="name " type ="text " placeholder ="First name ">
121
+ < input mdInput [(ngModel)] ="name " type ="text " placeholder ="First name ">
122
122
</ md-input-container > ,
123
123
how are you?
124
124
</ md-toolbar >
125
125
< md-card-content >
126
126
< p >
127
127
< md-input-container >
128
- < input md-input disabled placeholder ="Disabled field " value ="Value ">
128
+ < input mdInput disabled placeholder ="Disabled field " value ="Value ">
129
129
</ md-input-container >
130
130
< md-input-container >
131
- < input md-input required placeholder ="Required field ">
131
+ < input mdInput required placeholder ="Required field ">
132
132
</ md-input-container >
133
133
</ p >
134
134
< p >
135
135
< md-input-container style ="width: 100% ">
136
- < input md-input placeholder ="100% width placeholder ">
136
+ < input mdInput placeholder ="100% width placeholder ">
137
137
</ md-input-container >
138
138
</ p >
139
139
< p >
140
140
< md-input-container style ="width: 100% ">
141
- < input md-input #input placeholder ="Character count (100 max) " maxLength ="100 ">
141
+ < input mdInput #input placeholder ="Character count (100 max) " maxLength ="100 ">
142
142
< md-hint align ="end "> {{input.value.length}} / 100</ md-hint >
143
143
</ md-input-container >
144
144
</ p >
145
145
< p >
146
146
< md-input-container hintLabel ="Hint label " style ="width: 100% ">
147
- < input md-input placeholder ="Show Hint Label ">
147
+ < input mdInput placeholder ="Show Hint Label ">
148
148
</ md-input-container >
149
149
</ p >
150
150
@@ -161,14 +161,14 @@ <h4>Textarea</h4>
161
161
</ p >
162
162
< p >
163
163
< md-input-container hintLabel ="Hint label " style ="width: 100% ">
164
- < input md-input #hintLabelWithCharCount placeholder ="Show Hint Label With Character Count ">
164
+ < input mdInput #hintLabelWithCharCount placeholder ="Show Hint Label With Character Count ">
165
165
< md-hint align ="end "> {{hintLabelWithCharCount.value.length}}</ md-hint >
166
166
</ md-input-container >
167
167
</ p >
168
168
< p >
169
169
< md-checkbox [(ngModel)] ="dividerColor "> Check to change the divider color:</ md-checkbox >
170
170
< md-input-container [dividerColor] ="dividerColor ? 'primary' : 'accent' ">
171
- < input md-input [placeholder] ="dividerColor ? 'Primary color' : 'Accent color' ">
171
+ < input mdInput [placeholder] ="dividerColor ? 'Primary color' : 'Accent color' ">
172
172
</ md-input-container >
173
173
</ p >
174
174
< p >
@@ -182,23 +182,23 @@ <h4>Textarea</h4>
182
182
< p >
183
183
< md-checkbox [(ngModel)] ="floatingLabel "> Check to make floating label:</ md-checkbox >
184
184
< md-input-container [floatingPlaceholder] ="floatingLabel ">
185
- < input md-input [placeholder] ="floatingLabel ? 'Floating label' : 'Not floating label' ">
185
+ < input mdInput [placeholder] ="floatingLabel ? 'Floating label' : 'Not floating label' ">
186
186
</ md-input-container >
187
187
</ p >
188
188
189
189
< p >
190
190
< md-input-container >
191
- < input md-input placeholder ="Prefixed " value ="example ">
191
+ < input mdInput placeholder ="Prefixed " value ="example ">
192
192
< div md-prefix > Example: </ div >
193
193
</ md-input-container >
194
194
< md-input-container align ="end ">
195
- < input md-input placeholder ="Suffixed " value ="123 ">
195
+ < input mdInput placeholder ="Suffixed " value ="123 ">
196
196
< span md-suffix > .00 €</ span >
197
197
</ md-input-container >
198
198
< br />
199
199
Both:
200
200
< md-input-container align ="end ">
201
- < input md-input #email placeholder ="Email Address " value ="angular-core ">
201
+ < input mdInput #email placeholder ="Email Address " value ="angular-core ">
202
202
< span md-prefix >
203
203
< md-icon [class.primary] ="email.focused " class ="demo-icons demo-transform "> email</ md-icon >
204
204
@@ -252,8 +252,8 @@ <h4>Textarea</h4>
252
252
< md-card class ="demo-card demo-basic ">
253
253
< md-toolbar color ="primary "> Forms</ md-toolbar >
254
254
< md-card-content >
255
- < md-input-container > < input md-input placeholder ="reactive " [formControl] ="formControl "> </ md-input-container >
256
- < md-input-container > < input md-input placeholder ="template " [(ngModel)] ="model " required > </ md-input-container >
255
+ < md-input-container > < input mdInput placeholder ="reactive " [formControl] ="formControl "> </ md-input-container >
256
+ < md-input-container > < input mdInput placeholder ="template " [(ngModel)] ="model " required > </ md-input-container >
257
257
</ md-card-content >
258
258
</ md-card >
259
259
@@ -263,7 +263,7 @@ <h4>Textarea</h4>
263
263
< textarea md-autosize class ="demo-textarea "> </ textarea >
264
264
< div >
265
265
< md-input-container >
266
- < textarea md-input
266
+ < textarea mdInput
267
267
md-autosize
268
268
placeholder ="Autosized textarea "> </ textarea >
269
269
</ md-input-container >
0 commit comments