* 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)
| 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 |
no outgoing calls
no test coverage detected