This is a migrated thread and some comments may be shown as answers.

How can i disable loading animation while remote view is loading?

1 Answer 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Irina
Top achievements
Rank 1
Irina asked on 26 Mar 2014, 07:46 PM
Hi

How can i disable the loading animation while remote view is loading? Why?

because some times the loading animation is frozen. I think that is because HTML apps are single thread.

Also i've used the app.showLoading while i use ajax to get data for a chart but the animation always is frozen.

I love Kendo UI! but i want to use spin.js instead. Sorry but when i use ajax with spin.js, the spinner animation run very smooth

please advise.

Irina

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 28 Mar 2014, 12:12 PM
Hello Irina,

If you are using app.navigate() method to navigate between the views, then you can call app.hideLoading() right after that. I have tested the same and it seems to be working as expected. I have attached a test example in this response, please check it out and let me know if you have any questions.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Irina
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or