What function is called when I click tab in lifecycle


#1

I’ve got Ionic tabs on the bottom of the screen which provides navigation between two screens. Is there any function like ngOnInit() which is called when I click on the tab button? I would like to refresh some elements.