Programatically acessing tabTitle

Hi, All!

Is that possible for me accessing tabTitle property programmatically?


<ion-content padding>
    <ion-tab [root]="tab1Root" tabTitle="tab 01"></ion-tab>
    <ion-tab [root]="tab1Root" tabTitle="tab 02"></ion-tab>
    <ion-tab [root]="tab1Root" tabTitle="tab 03"></ion-tab>  

yes! they share same tab. The have almost the same behaviour


export class tab1RootPage {

  constructor(navCtrl:NavController) {
    let s = navCtrl.tabTitle  // ????????? type script error! runs on web but does not compile for mobile

Anybody knows why erro above occurs? Is there another way to access tabTitle programatically?

Thanks in advance!

If you don’t get any better answers, I would use segments for this instead of tabs.