* @param {string} canonicalCode - The canonical key code. * @returns {boolean}
(canonicalCode)
| 24 | * @returns {boolean} |
| 25 | */ |
| 26 | isKeyPressed(canonicalCode) { |
| 27 | return ( |
| 28 | canonicalCode in this._isKeyPressed && this._isKeyPressed[canonicalCode] |
| 29 | ); |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * @param {KeyboardEvent} evt - https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent |
no outgoing calls
no test coverage detected