Ionic lifecycle states with Angular 2 components

I have an Ionic 2 Page that contains Angular 2 Components. Is there a way to let those components know when an Ionic lifecycle event has happened?

For instance, how do i tell the angular 2 components the Ionic onPageDidLeave lifecycle event has happened? Or any of the other states?

My angular 2 components need to know when the page “didLeave” and “didEnter”.


1 Like