onResume in angular2

Hi, I need to handle resume state of the app in angular 2+. So please help me with an example. thanks.