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

Ionic 2: Get current state/page from a service

$
0
0

@royip wrote:

Hi

How can i get the current state/page of the application from an @Injectable component?

The is use case:

I have a class HttpErrorHandler which has one method handleError this method is invoke after every failed request..
How, from that component, can I tell what is the current page?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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