Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

IONIC Tabs - how to tell which one has been clicked

I have several instances of IONIC tabs (not on the index page).

I need to know which tab the user has clicked as I need to perform initialisation in some cases.

I tried adding an ng-click to each of the tabs, but this does not get fired.
The only ng-click that seems to get fired is the actual tab item where you select the live tab.
Can you tell me how I can tell which tab has been selected please?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

IONIC Tabs - how to tell which one has been clicked

Hello Andy,

it is possible to use ng-click on tabs component (which differs from tabs on the index page): https://getsatisfaction.com/apperyio/...

Return to “Issues”