Hi, How to add tabs dynamically from the json obtained. My ts file returns the json with tab title, icon and component. My HTML is like below
<div *ngFor="#tab of tabs">
<ion-tab [root] = "tab.component" [tabTitle]="tab.name" [tabIcon]="tab.icon"></ion-tab>
Since my component is a json string, assigning it to the root didn’t set the navigation. I tried to use the
(select)=openTab(tab.component) instead of root. But the params in the method remains undefined. Please help me on this.