Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/lib.dom.ts>ValidityState

💧EventEmitter's typesafe replacement
Go to Latest
interface ValidityState
import { type ValidityState } from "https://deno.land/x/evt@v2.5.3/lib/types/lib.dom.ts";

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.

Properties

readonly
badInput: boolean
readonly
customError: boolean
readonly
patternMismatch: boolean
readonly
rangeOverflow: boolean
readonly
rangeUnderflow: boolean
readonly
stepMismatch: boolean
readonly
tooLong: boolean
readonly
tooShort: boolean
readonly
typeMismatch: boolean
readonly
valid: boolean
readonly
valueMissing: boolean