Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70433

Place for general listeners

$
0
0

@Javiv wrote:

Hello everyone, I would like to know where/how should I put the “global” code that I want to execute all time while the app is running, for example, I have a listener that checks if the app has internet connection.

There is any general .ts file that is over all the page files? or any other common way to place that instead of copy it in every page?

Thanks, I’m very newbie :slight_smile:

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70433

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>