How to change Tabs Page Dinamically


#1
export class TabsPage {

  tabHome: any = HomePage;
  tabIngressos: any = IngressosPage;
  tabBusca: any = BuscaPage;
  tabPerfil: any = LoginFacebookPage;

}

i wish i could change tabPerfil from another class. but how?!


#2

I just solved my proble using navCtrl.setRoot(MyPage);