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

Show ionic spinner/loader on top of all pages

$
0
0

@marcelwade wrote:

Is there a way to always show the loader or make it stay when I call it?

I made a public service where the loader is created so that I can always inject and access it on any page

 public async loaderPresent() {
    await this.loader.then((overlay)=>{
      overlay.present();
    })
  }

  public async loaderDismiss() {
    await this.loader.then((overlay)=>{
      overlay.dismiss();
    })
  }

But the problem is:
The loader does not stay when the page is programmatically changed.

What I’m trying to achieve is:
The loader to be absolute and cover all the automated processes happening under in my app.

Additional Information:
I have an inAppBrowser and it covers the loading screen

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70924

Trending Articles



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