I want to have Ionic tabs all in one page


#1

This is the code example.

<ion-tabs>

<ion-tab [root]=“tab1Root” tabTitle=“Notes” [rootParams]=“card”></ion-tab>

<ion-tab [root]=“tab2Root” tabTitle=“Discussion” [rootParams]=“card.id”></ion-tab>

</ion-tabs>

But this kind of structure is creating a problem with my animation.
So, I want to replace and make it similar to simpler tab structure.
Wherein instead of loading individual tab from different views, it will be loaded from the current page itself.

Is it possible to achieve this?


#2

Have you looked into segments?


#4

this was exactly what I am looking for. Thanks very much.