(e: UI5CustomEvent<Button, "click">)
| 606 | } |
| 607 | |
| 608 | _onOverflowStepButtonClick(e: UI5CustomEvent<Button, "click">) { |
| 609 | const tabs = Array.from(this.stepsInHeaderDOM); |
| 610 | const eTarget = e.target as HTMLElement; |
| 611 | const stepRefId = eTarget.getAttribute("data-ui5-header-tab-ref-id"); |
| 612 | const stepToSelect = this.slottedSteps[Number(stepRefId) - 1]; |
| 613 | const selectedStep = this.selectedStep; |
| 614 | const newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect); |
| 615 | |
| 616 | this.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, false); |
| 617 | this._closeRespPopover(); |
| 618 | tabs[newlySelectedIndex].focus(); |
| 619 | } |
| 620 | |
| 621 | _closeRespPopover() { |
| 622 | const responsivePopover = this._respPopover(); |
nothing calls this directly
no test coverage detected