* Sets focus to a particular tab. * @param index Index of the tab to be focused.
(index: number)
| 464 | * @param index Index of the tab to be focused. |
| 465 | */ |
| 466 | focusTab(index: number) { |
| 467 | const header = this._tabHeader; |
| 468 | |
| 469 | if (header) { |
| 470 | header.focusIndex = index; |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | _focusChanged(index: number) { |
| 475 | this._lastFocusedTabIndex = index; |