MCPcopy
hub / github.com/autoNumeric/autoNumeric / _defaultSelectAll

Method _defaultSelectAll

src/AutoNumeric.js:2673–2675  ·  view source on GitHub ↗

* Select the whole element content (including the currency symbol). * @private

()

Source from the content-addressed store, hash-verified

2671 * @private
2672 */
2673 _defaultSelectAll() {
2674 AutoNumericHelper.setElementSelection(this.domElement, 0, AutoNumericHelper.getElementValue(this.domElement).length);
2675 }
2676
2677 /**
2678 * Select only the numbers in the formatted element content, leaving out the currency symbol, whatever the value of the `selectNumberOnly` option

Callers 1

selectMethod · 0.95

Calls 2

setElementSelectionMethod · 0.80
getElementValueMethod · 0.80

Tested by

no test coverage detected