Include tab count and move btn to center

This commit is contained in:
Paul Frazee
2022-11-17 10:37:30 -06:00
parent 29d5cef912
commit 28a9fe85d5
2 changed files with 30 additions and 26 deletions
+4
View File
@@ -179,6 +179,10 @@ export class NavigationModel {
return this.tabs[this.tabIndex]
}
get tabCount() {
return this.tabs.length
}
isCurrentScreen(tabId: number, index: number) {
return this.tab.id === tabId && this.tab.index === index
}