Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49164

How to access ion tab routing outlet?

$
0
0

I’m working on a project which required ion model to be appear in ion-tabs Router Outlet but it appears on patent RouterOutlet

The function to open ion-model is in one of the child tab which is.

async presentPlayerModule(index){
    const modal = await this.modalController.create({
      component: PlayerComponent,
      swipeToClose: true,
      componentProps:{profile:this.profiles[index],image:this.images[index]},
      presentingElement:this.ionRouterOutlet.nativeEl
    });
    return await modal.present();
  }

Second one is ion-model I want it to appear such that tab bar should be present at the bottom.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49164

Trending Articles