Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

How to keep functions running across multiple pages

$
0
0

Is there a way to keep functions from one page running after switching to another page? For a very simple example, if I’m running a timer on page 1, is there a way to keep that timer running after I switch to page 2?

I have been storing the processed data from page 1 into local storage, then inject the same functions into page 2 and continue processing the locally stored data.

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



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