Liking cljdoc? Tell your friends :D

web.ValidityState

The ValidityState interface represents the validity states that element can be in, with respect to constraint validation. Together, help explain why an element's value fails to validate, if it's valid.

The ValidityState interface represents the validity states that
element can be in, with respect to constraint validation. Together,
help explain why an element's value fails to validate, if it's
valid.
raw docstring

bad-inputcljs

(bad-input this)

Property.

The read-only badInput property of a ValidityState object indicates the user has provided input that the browser is unable to convert. example, if you have a number input element whose content is string. Note: While this is unsupported in Internet Explorer, non-numeric value will be dismissed from the field if it is a input.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/badInput

Property.

The read-only badInput property of a ValidityState object indicates
the user has provided input that the browser is unable to convert.
example, if you have a number input element whose content is
string. Note: While this is unsupported in Internet Explorer,
non-numeric value will be dismissed from the field if it is a
input.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/badInput`
sourceraw docstring

set-too-long!cljs

(set-too-long! this val)

Property.

The read-only tooLong property of a ValidityState object indicates the value of an web.<input>, web.<button>, web.<select>, web.<fieldset> or web.<textarea>, after having been edited the user, exceeds the maximum code-unit length established by element's maxlength attribute.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooLong

Property.

The read-only tooLong property of a ValidityState object indicates
the value of an `web.<input>`, `web.<button>`, `web.<select>`,
`web.<fieldset>` or `web.<textarea>`, after having been edited
the user, exceeds the maximum code-unit length established by
element's maxlength attribute.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooLong`
sourceraw docstring

set-too-short!cljs

(set-too-short! this val)

Property.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooShort

Property.



See also: `https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooShort`
sourceraw docstring

too-longcljs

(too-long this)

Property.

The read-only tooLong property of a ValidityState object indicates the value of an web.<input>, web.<button>, web.<select>, web.<fieldset> or web.<textarea>, after having been edited the user, exceeds the maximum code-unit length established by element's maxlength attribute.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooLong

Property.

The read-only tooLong property of a ValidityState object indicates
the value of an `web.<input>`, `web.<button>`, `web.<select>`,
`web.<fieldset>` or `web.<textarea>`, after having been edited
the user, exceeds the maximum code-unit length established by
element's maxlength attribute.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooLong`
sourceraw docstring

too-shortcljs

(too-short this)

Property.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooShort

Property.



See also: `https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooShort`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close