(e: KeyboardEvent)
| 442 | } |
| 443 | |
| 444 | _onkeydown(e: KeyboardEvent) { |
| 445 | if (isF7(e)) { |
| 446 | this._handleF7Key(e); |
| 447 | return; |
| 448 | } |
| 449 | if (isHome(e)) { |
| 450 | this._handleHome(e); |
| 451 | } |
| 452 | if (isEnd(e)) { |
| 453 | this._handleEnd(e); |
| 454 | } |
| 455 | if (isPageUp(e)) { |
| 456 | this._handlePageUp(e); |
| 457 | } |
| 458 | if (isPageDown(e)) { |
| 459 | this._handlePageDown(e); |
| 460 | } |
| 461 | |
| 462 | if (isLeft(e) || isUp(e)) { |
| 463 | e.preventDefault(); |
| 464 | this.navigateLeft(); |
| 465 | } else if (isRight(e) || isDown(e)) { |
| 466 | e.preventDefault(); |
| 467 | this.navigateRight(); |
| 468 | } |
| 469 | } |
| 470 | |
| 471 | _onfocusin(e: FocusEvent) { |
| 472 | const target = e.target as HTMLElement; |
nothing calls this directly
no test coverage detected