MCPcopy
hub / github.com/autoNumeric/autoNumeric / _isInputTypeSupported

Method _isInputTypeSupported

src/AutoNumeric.js:7913–7918  ·  view source on GitHub ↗

* Return `true` if the input type is supported by AutoNumeric * * @returns {boolean} * @throws

()

Source from the content-addressed store, hash-verified

7911 * @throws
7912 */
7913 _isInputTypeSupported() {
7914 return (this.domElement.type === 'text' ||
7915 this.domElement.type === 'hidden' ||
7916 this.domElement.type === 'tel' ||
7917 AutoNumericHelper.isUndefinedOrNullOrEmpty(this.domElement.type));
7918 }
7919
7920 /**
7921 * Check if the DOM element is supported by autoNumeric.

Callers 1

_checkElementMethod · 0.95

Calls 1

Tested by

no test coverage detected