Page 1 of 1

Lock user actions while making a service call

Posted: Fri May 17, 2013 8:53 pm
by Rob Hernández

I would like to make some service calls on a page, but while the service is getting a response and displaying it on their respective labels, lock user actions on that page and show the user some feedback that we are fetching a response. How can I do that with Appery?


Lock user actions while making a service call

Posted: Fri May 17, 2013 9:05 pm
by Maryna Brodina

Hello! You can show spinner before REST calls
codeshowSpinner({text: "loading...", textVisible:true, theme: 'a'} );/code and after it's done hide the spinner
codehideSpinner(); /code


Lock user actions while making a service call

Posted: Fri May 17, 2013 9:17 pm
by Rob Hernández

Thanks Marina, that was just what I was looking for :)