* Set the tabInd as 1, and the same is being captured by the project component. On the change of event the tabInd is updated and other components are rendered.
*/
@Component({
selector:'app-project',
templateUrl:'./project.component.html',
...
...
@@ -36,11 +34,12 @@ export class ProjectComponent implements OnInit {
{label:'Github',content:'Content 1'},
{label:'Confluence',content:'Content 2'},
{label:'JIRA',content:'Content 3'},
//{label: 'Slack', content: 'Content 4'}
]);
},1000);
});
}
changeTab(event:any){
this.tabInd=event.index+1;
}
...
...
@@ -52,6 +51,9 @@ export class ProjectComponent implements OnInit {