(countPrefix)
| 28 | |
| 29 | // Reset the key state, optionally retaining the count provided. |
| 30 | reset(countPrefix) { |
| 31 | if (countPrefix == null) countPrefix = 0; |
| 32 | this.countPrefix = countPrefix; |
| 33 | this.keyState = [this.keyMapping]; |
| 34 | } |
| 35 | |
| 36 | init(options) { |
| 37 | const args = Object.assign(options, { keydown: this.onKeydown.bind(this) }); |
no outgoing calls
no test coverage detected