Rob Hernández
Posts: 0
Joined: Mon Apr 22, 2013 10:43 pm

Lock user actions while making a service call

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?

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

Lock user actions while making a service call

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

Rob Hernández
Posts: 0
Joined: Mon Apr 22, 2013 10:43 pm

Lock user actions while making a service call

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

Return to “Issues”