MCPcopy
hub / github.com/autoNumeric/autoNumeric / warning

Method warning

src/AutoNumericHelper.js:767–772  ·  view source on GitHub ↗

* Function that display a warning messages, according to the debug level. * * @param {string} message * @param {boolean} [showWarning=true] If FALSE, then the warning message is not displayed

(message, showWarning = true)

Source from the content-addressed store, hash-verified

765 * @param {boolean} [showWarning=true] If FALSE, then the warning message is not displayed
766 */
767 static warning(message, showWarning = true) {
768 if (showWarning) {
769 /* eslint no-console: 0 */
770 console.warn(`Warning: ${message}`);
771 }
772 }
773
774 /**
775 * Return `true` if the given event is an instance of WheelEvent

Callers 12

constructorMethod · 0.80
_getOptionObjectMethod · 0.80
_parseStyleRulesMethod · 0.80
setMethod · 0.80
initMethod · 0.80
_addToGlobalListMethod · 0.80
validateMethod · 0.80
_toNumericValueMethod · 0.80
AutoNumeric.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected