MCPcopy
hub / github.com/autoNumeric/autoNumeric / select

Method select

src/AutoNumeric.js:2659–2667  ·  view source on GitHub ↗

* Select the formatted element content, based on the `selectNumberOnly` option * * @returns {AutoNumeric}

()

Source from the content-addressed store, hash-verified

2657 * @returns {AutoNumeric}
2658 */
2659 select() {
2660 if (this.settings.selectNumberOnly) {
2661 this.selectNumber();
2662 } else {
2663 this._defaultSelectAll();
2664 }
2665
2666 return this;
2667 }
2668
2669 /**
2670 * Select the whole element content (including the currency symbol).

Callers 3

_onFocusInMethod · 0.95
_onKeydownMethod · 0.95

Calls 2

selectNumberMethod · 0.95
_defaultSelectAllMethod · 0.95

Tested by

no test coverage detected