ValidityState

abstract external class ValidityState (source)

Platform and version requirements: JS

Exposes the JavaScript ValidityState to Kotlin

Constructors

<init>

ValidityState()

Exposes the JavaScript ValidityState to Kotlin

Properties

badInput

open val badInput: Boolean

customError

open val customError: Boolean

patternMismatch

open val patternMismatch: Boolean

rangeOverflow

open val rangeOverflow: Boolean

rangeUnderflow

open val rangeUnderflow: Boolean

stepMismatch

open val stepMismatch: Boolean

tooLong

open val tooLong: Boolean

tooShort

open val tooShort: Boolean

typeMismatch

open val typeMismatch: Boolean

valid

open val valid: Boolean

valueMissing

open val valueMissing: Boolean

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.