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

Ionic 4 nav.getActive() replacement?

$
0
0

@tomhartz wrote:

I need a way to get the current page instance from a callback within app.component. Getting url from the router is insufficient, i need the instance so i can invoke page methods.

I’ve search pretty hard and can only find this SO question which does have a potential solution, but it looks more complex than I would like:

Does anybody here have a simpler solution for this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



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