(e: Event)
| 950 | } |
| 951 | |
| 952 | async _onOverflowClick(e: Event) { |
| 953 | if ((e.target as HTMLElement).classList.contains("ui5-tc__overflow")) { |
| 954 | // the empty area in the overflow was clicked |
| 955 | return; |
| 956 | } |
| 957 | |
| 958 | const overflow = e.currentTarget as HTMLElement; |
| 959 | const isEndOverflow = overflow.classList.contains("ui5-tc__overflow--end"); |
| 960 | let opener; |
| 961 | |
| 962 | if (isEndOverflow) { |
| 963 | opener = this.overflowButton[0] || this._getEndOverflowBtnDOM(); |
| 964 | } else { |
| 965 | opener = this.startOverflowButton[0] || this._getStartOverflowBtnDOM(); |
| 966 | } |
| 967 | |
| 968 | await this._togglePopover(opener, true); |
| 969 | } |
| 970 | |
| 971 | _sendOverflowPresentationInfos(items: Array<ITab>) { |
| 972 | const semanticIcons = items |
no test coverage detected