Trigger function when click ion-tabs

I want to know how can I trigger a function when click the tab everytime click whatever it is active or not.
I have try to use ionSelect, but it just trigger the function when the tab is change from inactive to active.
Thanks a lot.

<ion-tab [root]="tab1Root" tabTitle="Home" tabIcon="home" (ionSelect)="toHome()"></ion-tab>
1 Like