* Generates a key down action. * * @param {(Key|string|number)} key the key to press. This key may be * specified as a Key value, a specific unicode code point, * or a string containing a single unicode code point. * @return {!Action} a new key down action. * @packa
(key)
| 282 | * @package |
| 283 | */ |
| 284 | keyDown(key) { |
| 285 | return { type: Action.Type.KEY_DOWN, value: checkCodePoint(key) } |
| 286 | } |
| 287 | |
| 288 | /** |
| 289 | * Generates a key up action. |
nothing calls this directly
no test coverage detected