(e: KeyboardEvent)
| 847 | } |
| 848 | |
| 849 | _onTabStripKeyUp(e: KeyboardEvent) { |
| 850 | const tab = getTabInStrip(e.target as HTMLElement); |
| 851 | if (!tab || tab.realTabReference.disabled) { |
| 852 | return; |
| 853 | } |
| 854 | |
| 855 | if (isSpace(e)) { |
| 856 | e.preventDefault(); |
| 857 | if (tab.realTabReference.isSingleClickArea) { |
| 858 | this._onTabStripClick(e); |
| 859 | } else { |
| 860 | this._onHeaderItemSelect(tab, e); |
| 861 | } |
| 862 | } |
| 863 | } |
| 864 | |
| 865 | _onHeaderItemSelect(tab: HTMLElement, originalEvent?: Event) { |
| 866 | if (!tab.hasAttribute("disabled")) { |
nothing calls this directly
no test coverage detected