Oh! Excelent! Thanks
thanks a lot, it’s working fine!
Worked for me!
P.S.: this.nav
is a reference to a NavController
instance declared in the constructor.
This works fine for the needed action, but is there anything about this that would cause the stack to build up over time? My app gets very slow after the use of this switch a few times, not sure if this is where the issue is though
I wonder that no one comes up with the same select()-function problem i ran into:
when i try to use this:
@ViewChild('mainTabs') tabRef: Tabs;
...
this.tabRef.select(2);
…i got this in the error msg:
(method) Tabs.select(tabOrIndex: number | Tab, opts: NavOptions, fromUrl: boolean): void
I can’t access a select-method on my tabs reference with just the index param.
using the same version you do, i’m very confused by this behavior. Any ideas on that matter?
awesome. thanks for this help
It works for me! Tks!
you sir are a hero. This was what I was looking for
You can use this.navCtrl.navigateRoot(‘your-path’);