Ram
Posts: 0
Joined: Fri Aug 02, 2013 12:15 pm

spinner gone after service end while navigating to other page

Hi All,

I have a login page that has a rest service communicating with my webservice, in case of success i navigate to a different page, I added showSpinner(); before calling the service, added showSpinner(); at the end of the code for both success & complete events for the same service too but once the service is successfully ends the spinner is gone and there's "freezing" time between the login page is displayed (after the service has successfully executed) and the other page displayed... please have a look at the screen capture video

thx much in advance!
Best,
R.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

spinner gone after service end while navigating to other page

Hello! Sorry for delay. When service call completed spinner hides automatically. Try this code:
codesetTimeout(function(){showSpinner()}, 1);/code

Ram
Posts: 0
Joined: Fri Aug 02, 2013 12:15 pm

spinner gone after service end while navigating to other page

thank you.

we are almost there :)

so now i get the spinner until page change however the spinner itself not spinning the whole time but frozen for most of the time... please have a look at the screen captured video

TIA!

Anton Artyukh5836028
Posts: 0
Joined: Wed May 08, 2013 12:57 pm

spinner gone after service end while navigating to other page

Hi Ram,

If you try to test this in other browser, it will looks different. Spinner is GIF-animated image. Different browsers, I think even the same browser in different OS, is renders it on its own specific way. This is right and for devices.

Return to “Issues”