Skip to content

Commit

Permalink
fix(demo): adjusted the docs of the lib examples in md #163 #143
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Apr 23, 2019
1 parent 8daf84e commit e2dd41a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions demo/src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h1>@angular-material-extensions/password-strength</h1>
<mat-card-content>

<!--password input filed-->
<mat-form-field appearance="outline" style="width: 100%">
<mat-form-field appearance="outline" [color]="passwordComponentWithValidation.color" style="width: 100%">
<mat-label>Password</mat-label>
<mat-pass-toggle-visibility #toggle matSuffix></mat-pass-toggle-visibility>
<input matInput #passwordWithValidation
Expand Down Expand Up @@ -215,7 +215,7 @@ <h1>@angular-material-extensions/password-strength</h1>
<mat-card-content>

<!--password input filed-->
<mat-form-field appearance="outline" style="width: 100%">
<mat-form-field appearance="outline" [color]="passwordComponentWithConfirmation.color" style="width: 100%">
<mat-label>Password</mat-label>
<mat-pass-toggle-visibility #toggle3 matSuffix></mat-pass-toggle-visibility>
<input matInput #passwordWithConfirmation
Expand Down
6 changes: 3 additions & 3 deletions demo/src/assets/md/home/e2/html.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
```html
<!--password input filed-->
<mat-form-field appearance="outline" style="width: 100%">
<mat-form-field appearance="outline" [color]="passwordComponentWithValidation.color" style="width: 100%">
<mat-label>Password</mat-label>
<mat-pass-toggle-visibility #toggle2 matSuffix></mat-pass-toggle-visibility>
<mat-pass-toggle-visibility #toggle matSuffix></mat-pass-toggle-visibility>
<input matInput #passwordWithValidation
[type]="toggle2.type"
[type]="toggle.type"
required
[formControl]="passwordComponentWithValidation.passwordFormControl"
placeholder="Password">
Expand Down
2 changes: 1 addition & 1 deletion demo/src/assets/md/home/e3/html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
```html
<!--password input filed-->
<mat-form-field appearance="outline" style="width: 100%">
<mat-form-field appearance="outline" [color]="passwordComponentWithConfirmation.color" style="width: 100%">
<mat-label>Password</mat-label>
<mat-pass-toggle-visibility #toggle3 matSuffix></mat-pass-toggle-visibility>
<input matInput #passwordWithConfirmation
Expand Down

0 comments on commit e2dd41a

Please sign in to comment.