Include tab count and move btn to center
This commit is contained in:
parent
b390101106
commit
6b715224f2
2 changed files with 30 additions and 26 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue