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

Method localizeAndSet

src/AutoNumeric.js:4652–4657  ·  view source on GitHub ↗
(domElement, options = null)

Source from the content-addressed store, hash-verified

4650 }
4651
4652 static localizeAndSet(domElement, options = null) { //FIXME test this
4653 const localizedValue = this.localize(domElement, options);
4654 AutoNumericHelper.setElementValue(domElement, localizedValue);
4655
4656 return localizedValue;
4657 }
4658
4659 /**
4660 * Return `true` if the given DOM element has an AutoNumeric object that manages it.

Callers

nothing calls this directly

Calls 2

localizeMethod · 0.95
setElementValueMethod · 0.80

Tested by

no test coverage detected