bitwarden-estensione-browser/apps/web/src/app/components/password-strength.component...

15 lines
323 B
HTML
Raw Normal View History

<div class="progress">
2021-12-17 15:57:11 +01:00
<div
class="progress-bar {{ color }}"
role="progressbar"
[ngStyle]="{ width: scoreWidth + '%' }"
2021-12-17 15:57:11 +01:00
attr.aria-valuenow="{{ scoreWidth }}"
aria-valuemin="0"
aria-valuemax="100"
>
<ng-container *ngIf="showText && text">
{{ text }}
</ng-container>
</div>
</div>