* Return `true` if a decimal character is allowed to be typed. * If the number of decimal places shown on focus is zero, then the decimal character is not allowed. * * @returns {boolean} * @private
()
| 9170 | * @private |
| 9171 | */ |
| 9172 | _isDecimalCharacterInsertionAllowed() { |
| 9173 | return String(this.settings.decimalPlacesShownOnFocus) !== String(AutoNumeric.options.decimalPlacesShownOnFocus.none) && |
| 9174 | String(this.settings.decimalPlaces) !== String(AutoNumeric.options.decimalPlaces.none); |
| 9175 | } |
| 9176 | |
| 9177 | /** |
| 9178 | * Return `true` if the key is allowed. |
no outgoing calls
no test coverage detected