MCPcopy Index your code
hub / github.com/autoNumeric/autoNumeric / setValidState

Method setValidState

src/AutoNumericHelper.js:1307–1309  ·  view source on GitHub ↗

* Set the valid state for the given element. * Note: This does not work with contenteditable elements * * @param {HTMLElement|HTMLInputElement} element

(element)

Source from the content-addressed store, hash-verified

1305 * @param {HTMLElement|HTMLInputElement} element
1306 */
1307 static setValidState(element) {
1308 element.setCustomValidity('');
1309 }
1310
1311 /**
1312 * This clone the given object, and return it.

Callers 1

_setValidStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected