(e: KeyboardEvent)
| 538 | } |
| 539 | |
| 540 | _onkeydown(e: KeyboardEvent) { |
| 541 | if (isTabNext(e) || isTabPrevious(e)) { |
| 542 | this._handleTab(e); |
| 543 | } |
| 544 | |
| 545 | if (isCtrlA(e)) { |
| 546 | e.preventDefault(); |
| 547 | this.isMultiSelect && this._selectAll(); |
| 548 | } |
| 549 | |
| 550 | if (isUpAlt(e) || isDownAlt(e)) { |
| 551 | this._handleArrowAlt(e); |
| 552 | } |
| 553 | |
| 554 | if ((isUpShift(e) || isDownShift(e)) && this.isMultiSelect) { |
| 555 | this._handleArrowNav(e); |
| 556 | } |
| 557 | |
| 558 | if (isHomeCtrl(e)) { |
| 559 | e.preventDefault(); |
| 560 | |
| 561 | this._itemNavigation._handleHome(); |
| 562 | this._itemNavigation._applyTabIndex(); |
| 563 | this._itemNavigation._focusCurrentItem(); |
| 564 | } |
| 565 | |
| 566 | if (isEndCtrl(e)) { |
| 567 | e.preventDefault(); |
| 568 | |
| 569 | this._itemNavigation._handleEnd(); |
| 570 | this._itemNavigation._applyTabIndex(); |
| 571 | this._itemNavigation._focusCurrentItem(); |
| 572 | } |
| 573 | |
| 574 | if ((isHomeShift(e) || isEndShift(e)) && this.isMultiSelect) { |
| 575 | this._handleHomeEndSelection(e); |
| 576 | } |
| 577 | } |
| 578 | |
| 579 | _handleTab(e: KeyboardEvent) { |
| 580 | const isNext = isTabNext(e); |
nothing calls this directly
no test coverage detected