Skip to main content
cngx-src documentation

PasswordStrengthResult

Interface

projects/forms/input/password-strength.factory.ts

Referenced by#

Import#

import { PasswordStrengthResult } from '@cngx/forms/input'

Description#

Result of estimating a password's strength: a discrete score (0 = empty or trivial, 4 = strong) and the matching coarse label. The directive announces label; the meter renders score segments.

Index#

Properties

Instance Properties#

Readonly

Coarse label derived from score.

score#"0" | "1" | "2" | "3" | "4"
Readonly

Discrete strength on a 0..4 scale.