@@ -29,9 +29,10 @@ <h1>Explore the library and try these examples <3</h1>
2929 < mat-card-content >
3030 <!--password input filed-->
3131 < mat-form-field appearance ="outline " style ="width: 100% " [color] ="passwordComponent1.color ">
32+ < mat-pass-toggle-visibility #toggle matSuffix > </ mat-pass-toggle-visibility >
3233 < mat-label > Password</ mat-label >
3334 < input matInput #password
34- type =" password "
35+ [ type] =" toggle.type "
3536 placeholder ="Password ">
3637 < mat-hint align ="end " aria-live ="polite ">
3738 {{password.value.length}} / {{passwordComponent1.max}}
@@ -71,8 +72,9 @@ <h1>Explore the library and try these examples <3</h1>
7172 <!--password input filed-->
7273 < mat-form-field appearance ="outline " style ="width: 100% " [color] ="passwordComponent2.color ">
7374 < mat-label > Password</ mat-label >
75+ < mat-pass-toggle-visibility #toggle2 matSuffix > </ mat-pass-toggle-visibility >
7476 < input matInput #password2
75- type =" password "
77+ [ type] =" toggle2.type "
7678 placeholder ="Password ">
7779 < mat-hint align ="end " aria-live ="polite ">
7880 {{password2.value.length}} / {{passwordComponent2.max}}
@@ -114,8 +116,9 @@ <h1>Explore the library and try these examples <3</h1>
114116 <!--password input filed-->
115117 < mat-form-field appearance ="outline " style ="width: 100% " [color] ="passwordComponent3.color ">
116118 < mat-label > Password</ mat-label >
119+ < mat-pass-toggle-visibility #toggle3 matSuffix > </ mat-pass-toggle-visibility >
117120 < input matInput #password3
118- type =" password "
121+ [ type] =" toggle3.type "
119122 placeholder ="Password ">
120123 < mat-hint align ="end " aria-live ="polite ">
121124 {{password3.value.length}} / {{passwordComponent3.max}}
@@ -157,8 +160,9 @@ <h1>Explore the library and try these examples <3</h1>
157160 <!--password input filed-->
158161 < mat-form-field appearance ="outline " style ="width: 100% " [color] ="passwordComponent4.color ">
159162 < mat-label > Password</ mat-label >
163+ < mat-pass-toggle-visibility #toggle4 matSuffix > </ mat-pass-toggle-visibility >
160164 < input matInput #password4
161- type =" password "
165+ [ type] =" toggle4.type "
162166 placeholder ="Password ">
163167 < mat-hint align ="end " aria-live ="polite ">
164168 {{password4.value.length}} / {{passwordComponent4.max}}
@@ -190,7 +194,7 @@ <h1>Explore the library and try these examples <3</h1>
190194
191195 <!-- #4 -->
192196 < mat-card class ="mt-4 ">
193- < mat-card-title > #4 </ mat-card-title >
197+ < mat-card-title > #5 </ mat-card-title >
194198 < mat-card-subtitle > stand alone password component with already provided value
195199 </ mat-card-subtitle >
196200
@@ -200,8 +204,9 @@ <h1>Explore the library and try these examples <3</h1>
200204 <!--password input filed-->
201205 < mat-form-field appearance ="outline " style ="width: 100% " [color] ="passwordComponent5.color ">
202206 < mat-label > Password</ mat-label >
207+ < mat-pass-toggle-visibility #toggle5 matSuffix > </ mat-pass-toggle-visibility >
203208 < input matInput #password5
204- type =" password "
209+ [ type] =" toggle5.type "
205210 value ="2Am.;!#019s' "
206211 placeholder ="Password ">
207212 < mat-hint align ="end " aria-live ="polite ">
0 commit comments