Skip to main content
Module

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

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

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