Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.ValidityState
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/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