I want to hide my tabbar on multiple specific pages. My main focus is to hide it on my Login page, Register page, and a comment page. I have tried tabsHideOnSubPages: true, but when i do this my UserProfile page (which is a subpage) hides the tabbar. The tabbar must also be visible on the UserProfile page but then again not on my previous mentioned subpages (login, register etc..).
I am currently using Ionic Framework : ionic-angular 3.2.0
Does anyone know how i can fix this?
You can try this.
Just put tabsHideOnSubPages in your config like this:
I can give you a quick hotfix for that.
Copy this Code into your .ts page file. The function will execute when the page is loaded.
If you want to hide the tabbar then do this line of code:
If you want to show it use this code by simply changing 'none' it to 'flex'.
This code is an angular function wich basicly means it executes when page is loaded.
Full code:
You can also use this code to show the tabbar again if you leave the page.
Hope this helped you.