Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Cant make the loading spinner to hide

I feel I have tried everything that I can find in forum and doc, but I cant make the loading spinner to hide.

Can someone give me a Script to hide the spinner?

I have a service Invoke that refresh automatically every 10 sec, and don't want the spinner to show everytime.

Thanks

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Cant make the loading spinner to hide

Hello Nicklas,

You can hide spinner with help of JS:

hideSpinner();

Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Cant make the loading spinner to hide

I have tried that, but I can make it work!
I have only tested it in the browser-tester. Do I have to download the app to test it correctly?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Cant make the loading spinner to hide

Nicklas,

Yes, could you please try this in your installed on a device app?

Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Cant make the loading spinner to hide

But should I put it in page load javascript?

And should it be something insde the "()"?

I have a small javascript in pageload, and that one works fine:

code
var renew = setInterval(function()
{restservice2.execute({}); }, 20000);
/code

Can I implement the hideSpinner(); in this one?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Cant make the loading spinner to hide

Hi Nicklas,

Please try following js code:

pre

var renew = setInterval(
function(){

Code: Select all

      restservice2.execute({}); 
      hideSpinner(); 

}, 20000 

);

/pre

Regards.

Nicklas
Posts: 0
Joined: Thu Jul 03, 2014 8:51 am

Cant make the loading spinner to hide

Thank you very much! :)

Return to “Issues”