Have any event to ion-tab content load success?

I need to process something after ion-tab content load

You can listen for LifeCycle events of Nav Controller which is available inside every page in your tabs:
http://ionicframework.com/docs/v2/api/components/nav/NavController/

e.g. ionViewLoaded or ionViewDidEnter

Or you can listen for tabChanged event inside your tab root component:

@ViewChild('tabs') tabRef: Tabs; tabChanged(event) {}

This event is being triggered on first tab load and on every tab change

Thanking you :slight_smile:

I have tried the ionViewLoaded and ionViewDidEnter. These are trigger before tab content loaded.

1 Like