How trigger the 'exit' application event in nativescript with angular 2 in onclick of logout button view?


#1

I want to exit the entire application in on Tap() of logout button in nativescript app.

I referred the use of application events in below link.
https://docs.nativescript.org/core-concepts/application-lifecycle

I want more idea on this?

Thanks in advance…