Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Problem to call setRoot in my Alert callback

$
0
0

You're right. It maybe due to multi-thread issue. The following code works:

      handler: () => {
        setTimeout(function () {
          this_ref.nav.setRoot(LoginPage);
        },500);
      }

But I know it's not an elegant solution.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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