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

Method _keepAnOriginalSettingsCopy

src/AutoNumeric.js:6205–6209  ·  view source on GitHub ↗

* Original settings saved for use when the `decimalPlacesShownOnFocus` and `showOnlyNumbersOnFocus` options are used. * Those original settings are used exclusively in the `focusin` and `focusout` event handlers.

()

Source from the content-addressed store, hash-verified

6203 * Those original settings are used exclusively in the `focusin` and `focusout` event handlers.
6204 */
6205 _keepAnOriginalSettingsCopy() {
6206 this.originalDigitGroupSeparator = this.settings.digitGroupSeparator;
6207 this.originalCurrencySymbol = this.settings.currencySymbol;
6208 this.originalSuffixText = this.settings.suffixText;
6209 }
6210
6211 /**
6212 * Removes any zeros in excess in the front and back of the given `value`, according to the `settings`.

Callers 1

_setSettingsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected