Skip to content

Commit 261119c

Browse files
committed
docs(project): updated the readme #163 #143
1 parent 1166239 commit 261119c

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,25 @@ pattern = new RegExp(/^(?=.*?[äöüÄÖÜß])/);
408408

409409
### Confirm the password with built in angular form controllers - [see the live example](https://angular-material-extensions.github.io/password-strength)
410410

411+
<p align="center">
412+
<img alt="@angular-material-extensions/password-strength with confirmation feature" style="text-align: center;"
413+
src="https://raw.githubusercontent.com/angular-material-extensions/password-strength/HEAD/assets/v3.8.0/confirm01.png">
414+
</p>
415+
416+
<p align="center">
417+
<img alt="@angular-material-extensions/password-strength with confirmation feature " style="text-align: center;"
418+
src="https://raw.githubusercontent.com/angular-material-extensions/password-strength/HEAD/assets/v3.8.0/confirm02.png">
419+
</p>
411420

412421

422+
### Use always the green color for a strong password just by adding the `green` css class to the `mat-password-strength`
423+
424+
```html
425+
<mat-password-strength #passwordComponent
426+
class="green"
427+
[password]="password.value">
428+
</mat-password-strength>
429+
```
413430

414431
### Supporting custom messages and ngx-translate for the info component please check the example demo [here](https://angular-material-extensions.github.io/password-strength/examples/mat-password-strength-info)
415432

assets/v3.8.0/confirm01.png

42.6 KB
Loading

assets/v3.8.0/confirm02.png

35.6 KB
Loading

0 commit comments

Comments
 (0)