MCPcopy Create free account
hub / github.com/UI5/webcomponents / _onHeaderFocusin

Method _onHeaderFocusin

packages/main/src/TabContainer.ts:485–491  ·  view source on GitHub ↗
(e: FocusEvent)

Source from the content-addressed store, hash-verified

483 }
484
485 _onHeaderFocusin(e: FocusEvent) {
486 const tab = getTabInStrip(e.target as HTMLElement);
487
488 if (tab) {
489 this._itemNavigation.setCurrentItem(tab.realTabReference);
490 }
491 }
492
493 _onDragStart(e: DragEvent) {
494 if (!e.dataTransfer || !(e.target instanceof HTMLElement)) {

Callers

nothing calls this directly

Calls 2

getTabInStripFunction · 0.85
setCurrentItemMethod · 0.80

Tested by

no test coverage detected