* Handle keydown event * @param {KeyboardEvent} e Event
(e)
| 102 | * @param {KeyboardEvent} e Event |
| 103 | */ |
| 104 | function handleKeydown(e) { |
| 105 | const code = e.key; |
| 106 | if (code === "ArrowUp" || code === "ArrowDown") { |
| 107 | e.preventDefault(); |
| 108 | e.stopPropagation(); |
| 109 | } |
| 110 | updateHintFocus(code); |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * Moves the active hint up or down |
nothing calls this directly
no test coverage detected