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

Ionic-3 Disable loading controller for background APIs

$
0
0

Currently I am creating and dismissing the loader in the interceptor with which, loader will be displayed on each request hit and after getting the response loader will be dismiss.

Now I want that loader should not be displayed for those request that need to be run in the background. For that I have created a list of those request and check if the endPoint is exist in the cloneRequest.url using indexOf method then loader will not be displayed.

This is working fine but I am looking for more scalable sloution.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



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