Ionic tabs with ngSwitch


#1

Hi
Im trying to use ionic tabs with ngswitch like ion-segments,i want to show different data when user clicks on tabs. here is my code,im new to ionic please help in this.

Membership Id :

    <h2>Membership Date:</h2>
  </ion-item>
  
</ion-list>

<ion-list *ngSwitchCase="'info'">
  <ion-item>
    
    <h2>Branch Name:</h2>
  </ion-item>
  <ion-item>
   
    <h2>Brnach address:</h2>
  </ion-item>
  
  
</ion-list>
</div>    

my ts file code

export class NotificationPage {

Notification: string = “Branch”;
isAndroid: boolean = false;
constructor(public navCtrl: NavController, public navParams: NavParams) {
}