@@ -188,5 +188,48 @@ <h1>Explore the library and try these examples <3</h1>
188188 </ mat-card >
189189 </ mat-card >
190190
191+ <!-- #4 -->
192+ < mat-card class ="mt-4 ">
193+ < mat-card-title > #4</ mat-card-title >
194+ < mat-card-subtitle > stand alone password component with already provided value
195+ </ mat-card-subtitle >
196+
197+ < mat-slide-toggle #toggle5 > Show Password Details</ mat-slide-toggle >
198+
199+ < mat-card-content >
200+ <!--password input filed-->
201+ < mat-form-field appearance ="outline " style ="width: 100% " [color] ="passwordComponent5.color ">
202+ < mat-label > Password</ mat-label >
203+ < input matInput #password5
204+ type ="password "
205+ value ="2Am.;!#019s' "
206+ placeholder ="Password ">
207+ < mat-hint align ="end " aria-live ="polite ">
208+ {{password5.value.length}} / {{passwordComponent5.max}}
209+ </ mat-hint >
210+ </ mat-form-field >
211+
212+ <!--@angular-material-extensions/password-strength's main component-->
213+ < mat-password-strength #passwordComponent5
214+ (onStrengthChanged) ="onStrengthChanged($event) "
215+ [password] ="password5.value ">
216+ </ mat-password-strength >
217+ <!--Password's strength info-->
218+ < mat-password-strength-info
219+ *ngIf ="toggle5.checked "
220+ [passwordComponent] ="passwordComponent5 "
221+ [enableScoreInfo] ="true ">
222+ </ mat-password-strength-info >
223+ </ mat-card-content >
224+
225+ < mat-card class ="mt-2 ">
226+ < mat-card-title > code</ mat-card-title >
227+ < mat-card-content >
228+ < markdown src ="assets/md/examples/e5.md "> </ markdown >
229+ </ mat-card-content >
230+ </ mat-card >
231+ </ mat-card >
232+
233+
191234 </ div >
192235</ section >
0 commit comments