jQuery Mobile offers a simple loader, but it does not offer a way to disable elements on the page while the loading process is occurring.
my wishlist:
1 - if the $.mobile.loading method offered a overlay-theme option (like the jqm popup)
2 - if the $.mobile.loading method accepted a target element to put the spinner into, such as a <div>
set to fullscreen
$.mobile.loading( 'show', { text : "loading" ,
textVisible : true ,
theme : 'b' ,
html : ""
}) ;
However, I want to avoid the solution where I have to make my own <div>
and toggle it separately but in synch with the $.mobile.loading( 'show/hide' , ... ) calls such as this SO suggests.