33 < md-card-content >
44 < form >
55 < 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 ">
77 </ md-input-container >
88
99 < table style ="width: 100% " cellspacing ="0 "> < tr >
1010 < td >
1111 < md-input-container style ="width: 100% ">
12- < input md-input placeholder ="First name ">
12+ < input mdInput placeholder ="First name ">
1313 </ md-input-container >
1414 </ td >
1515 < td >
1616 < 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 ">
1818 </ md-input-container >
1919 </ td >
2020 </ tr > </ table >
2121 < p >
2222 < 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 >
2424 </ md-input-container >
2525 < md-input-container class ="demo-full-width ">
26- < textarea md-input placeholder ="Address 2 "> </ textarea >
26+ < textarea mdInput placeholder ="Address 2 "> </ textarea >
2727 </ md-input-container >
2828 </ p >
2929 < table style ="width: 100% " cellspacing ="0 "> < tr >
3030 < td >
3131 < md-input-container class ="demo-full-width ">
32- < input md-input placeholder ="City " value ="Mountain View ">
32+ < input mdInput placeholder ="City " value ="Mountain View ">
3333 </ md-input-container >
3434 </ td >
3535 < td >
3636 < 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 ">
3838 </ md-input-container >
3939 </ td >
4040 < td >
4141 < 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 ">
4343 < md-hint align ="end "> {{postalCode.value.length}} / 5</ md-hint >
4444 </ md-input-container >
4545 </ td >
5252 < md-toolbar color ="primary "> Prefix + Suffix</ md-toolbar >
5353 < md-card-content >
5454 < md-input-container align ="end ">
55- < input md-input placeholder ="amount ">
55+ < input mdInput placeholder ="amount ">
5656 < span md-prefix > $ </ span >
5757 < span md-suffix > .00</ span >
5858 </ md-input-container >
6464 < md-card-content >
6565 < h4 > Input</ h4 >
6666 < md-input-container dividerColor ="primary " >
67- < input md-input placeholder ="Default Color " value ="example ">
67+ < input mdInput placeholder ="Default Color " value ="example ">
6868 </ md-input-container >
6969 < md-input-container dividerColor ="accent ">
70- < input md-input placeholder ="Accent Color " value ="example ">
70+ < input mdInput placeholder ="Accent Color " value ="example ">
7171 </ md-input-container >
7272 < md-input-container dividerColor ="warn ">
73- < input md-input placeholder ="Warn Color " value ="example ">
73+ < input mdInput placeholder ="Warn Color " value ="example ">
7474 </ md-input-container >
7575
7676 < h4 > Textarea</ h4 >
7777 < md-input-container dividerColor ="primary ">
78- < textarea md-input placeholder ="Default Color "> example</ textarea >
78+ < textarea mdInput placeholder ="Default Color "> example</ textarea >
7979 </ md-input-container >
8080 < md-input-container dividerColor ="accent ">
81- < textarea md-input placeholder ="Accent Color "> example</ textarea >
81+ < textarea mdInput placeholder ="Accent Color "> example</ textarea >
8282 </ md-input-container >
8383 < md-input-container dividerColor ="warn ">
84- < textarea md-input placeholder ="Warn Color "> example</ textarea >
84+ < textarea mdInput placeholder ="Warn Color "> example</ textarea >
8585 </ md-input-container >
8686 </ md-card-content >
8787</ md-card >
@@ -118,33 +118,33 @@ <h4>Textarea</h4>
118118 < md-toolbar color ="primary ">
119119 Hello
120120 < 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 ">
122122 </ md-input-container > ,
123123 how are you?
124124 </ md-toolbar >
125125 < md-card-content >
126126 < p >
127127 < md-input-container >
128- < input md-input disabled placeholder ="Disabled field " value ="Value ">
128+ < input mdInput disabled placeholder ="Disabled field " value ="Value ">
129129 </ md-input-container >
130130 < md-input-container >
131- < input md-input required placeholder ="Required field ">
131+ < input mdInput required placeholder ="Required field ">
132132 </ md-input-container >
133133 </ p >
134134 < p >
135135 < md-input-container style ="width: 100% ">
136- < input md-input placeholder ="100% width placeholder ">
136+ < input mdInput placeholder ="100% width placeholder ">
137137 </ md-input-container >
138138 </ p >
139139 < p >
140140 < 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 ">
142142 < md-hint align ="end "> {{input.value.length}} / 100</ md-hint >
143143 </ md-input-container >
144144 </ p >
145145 < p >
146146 < md-input-container hintLabel ="Hint label " style ="width: 100% ">
147- < input md-input placeholder ="Show Hint Label ">
147+ < input mdInput placeholder ="Show Hint Label ">
148148 </ md-input-container >
149149 </ p >
150150
@@ -161,14 +161,14 @@ <h4>Textarea</h4>
161161 </ p >
162162 < p >
163163 < 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 ">
165165 < md-hint align ="end "> {{hintLabelWithCharCount.value.length}}</ md-hint >
166166 </ md-input-container >
167167 </ p >
168168 < p >
169169 < md-checkbox [(ngModel)] ="dividerColor "> Check to change the divider color:</ md-checkbox >
170170 < 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' ">
172172 </ md-input-container >
173173 </ p >
174174 < p >
@@ -182,23 +182,23 @@ <h4>Textarea</h4>
182182 < p >
183183 < md-checkbox [(ngModel)] ="floatingLabel "> Check to make floating label:</ md-checkbox >
184184 < 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' ">
186186 </ md-input-container >
187187 </ p >
188188
189189 < p >
190190 < md-input-container >
191- < input md-input placeholder ="Prefixed " value ="example ">
191+ < input mdInput placeholder ="Prefixed " value ="example ">
192192 < div md-prefix > Example: </ div >
193193 </ md-input-container >
194194 < md-input-container align ="end ">
195- < input md-input placeholder ="Suffixed " value ="123 ">
195+ < input mdInput placeholder ="Suffixed " value ="123 ">
196196 < span md-suffix > .00 €</ span >
197197 </ md-input-container >
198198 < br />
199199 Both:
200200 < 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 ">
202202 < span md-prefix >
203203 < md-icon [class.primary] ="email.focused " class ="demo-icons demo-transform "> email</ md-icon >
204204
@@ -252,8 +252,8 @@ <h4>Textarea</h4>
252252< md-card class ="demo-card demo-basic ">
253253 < md-toolbar color ="primary "> Forms</ md-toolbar >
254254 < 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 >
257257 </ md-card-content >
258258</ md-card >
259259
@@ -263,7 +263,7 @@ <h4>Textarea</h4>
263263 < textarea md-autosize class ="demo-textarea "> </ textarea >
264264 < div >
265265 < md-input-container >
266- < textarea md-input
266+ < textarea mdInput
267267 md-autosize
268268 placeholder ="Autosized textarea "> </ textarea >
269269 </ md-input-container >
0 commit comments