I just tried to show an animated loading icon (like a spinner or progress bar) while my portlet was loading.
A very simple way is to use the css-class "loading-animation", which is delivered with Alloy-Ui, I guess.
Adding a single div:
<div class="loading-animation" />
You will get an animated logo like this:
Hi! Thank you for this post! It was very helpful, it is just what i was looking for! Thank you!
ReplyDeleteRegards.