MCPcopy
hub / github.com/autoNumeric/autoNumeric / _addCSSClass

Method _addCSSClass

src/AutoNumeric.js:1954–1956  ·  view source on GitHub ↗

* Add the given CSS class to the DOM element. * * @param {string} cssClassName * @private

(cssClassName)

Source from the content-addressed store, hash-verified

1952 * @private
1953 */
1954 _addCSSClass(cssClassName) {
1955 this.domElement.classList.add(cssClassName);
1956 }
1957
1958 /**
1959 * Remove the given CSS class from the DOM element.

Callers 2

_parseStyleRulesMethod · 0.95
_setInvalidStateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected