Defined in node_modules/typescript/lib/lib.dom.d.ts:22621 Defined in node_modules/typescript/lib/lib.dom.d.ts:22643 Properties Readonly
badInput badInput : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22623 Readonly
customError customError : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22624 Readonly
patternMismatch patternMismatch : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22626 Readonly
rangeOverflow rangeOverflow : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22628 Readonly
rangeUnderflow rangeUnderflow : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22630 Readonly
stepMismatch stepMismatch : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22632 Readonly
tooLong tooLong : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22634 Readonly
tooShort tooShort : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22636 Readonly
typeMismatch typeMismatch : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22638 Readonly
valid valid : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22639 Readonly
valueMissing valueMissing : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:22640
The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid.
MDN Reference