Closed btxtiger closed 6 years ago
I'd like to adjust the bar colors to my page theme. An option could be to pass an array to the directive to overwrite the defaults:
<ng2-password-strength-bar [colors]="myColors" [passwordToCheck]="formData.passwd" barLabel="Security: "> </ng2-password-strength-bar>
export class myComponent { public myColors = [‘#F00’, ‘#F90’, ‘#FF0’, ‘#9F0’, ‘#0F0’]; }
Resolved with PR #19.
I'd like to adjust the bar colors to my page theme. An option could be to pass an array to the directive to overwrite the defaults: