()
| 168 | } |
| 169 | |
| 170 | private tabSwitch() { |
| 171 | const selectedTab = this.selectedTab; |
| 172 | const leavingTab = this.leavingTab; |
| 173 | |
| 174 | this.leavingTab = undefined; |
| 175 | this.transitioning = false; |
| 176 | if (!selectedTab) { |
| 177 | return; |
| 178 | } |
| 179 | |
| 180 | if (leavingTab !== selectedTab) { |
| 181 | if (leavingTab) { |
| 182 | leavingTab.active = false; |
| 183 | } |
| 184 | this.ionTabsDidChange.emit({ tab: selectedTab.tab }); |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | private notifyRouter() { |
| 189 | if (this.useRouter) { |
no outgoing calls
no test coverage detected