Turn home button into a 'go back to start of nav history'
This commit is contained in:
@@ -107,6 +107,12 @@ export class NavigationTabModel {
|
||||
}
|
||||
}
|
||||
|
||||
goBackToZero() {
|
||||
if (this.canGoBack) {
|
||||
this.index = 0
|
||||
}
|
||||
}
|
||||
|
||||
goForward() {
|
||||
if (this.canGoForward) {
|
||||
this.index++
|
||||
|
||||
Reference in New Issue
Block a user