Skip to content

Commit

Permalink
Dev env setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagan Mohan Bishoyi committed Jul 9, 2022
1 parent 4fc57a9 commit 45ccee8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
</div>

<div class="content" role="main">
<input type="text" id="password" name="password" placeholder="Password.." NgPasswordValidator placement="top">
<input type="text" id="password" name="password" placeholder="Password.." [NgPasswordValidator]="options">
<!-- <input type="text" id="password" name="password" placeholder="Password.." NgPasswordValidator> -->
</div>

<router-outlet></router-outlet>
14 changes: 13 additions & 1 deletion projects/ng-password-validator-dev/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,20 @@ import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
styleUrls: ['./app.component.scss'],
})
export class AppComponent {
title = 'ng-password-validator-dev';
options = {
placement: 'bottom',
rules: {
password: {
type: 'range',
min: 6,
max: 10,
},
},
shadow: true,
offset: 15,
};
}

0 comments on commit 45ccee8

Please sign in to comment.