Navigate to page on different view/tab?

Right now I use this to change to a different page on a different view/tab.

$$(’#idToButton’).on(‘click’, function(){
app.tab.show("#view-home");
HomeView.router.navigate("/Some/Page/");
} );

This does work well.

I would pefer to switch view and go to correct page using ahref and use just a URL.
How can I do this?

I had to do this before, and got a great workaround from Vladimir. You can check it here:

https://forum.framework7.io/t/tabbed-app-define-link-target-app-tab/6948/3

2 Likes

Thank you. This worked.
I was able to remove the listener and went the href and data-tab
Great!

1 Like