To test, hit the button below and browse the docs. Note that if a link causes a refresh, this setting will be lost and the default settings will be seen.
Browse docsTo display the loading message on demand:
$.mobile.showPageLoadingMsg();
Click the buttons below to show and hide the loading message with the default options.
To display the loading message with a different theme and message:
$.mobile.showPageLoadingMsg("a", "Loading theme a...");
The theme and message can be changed on the fly by calling the method again. Click the buttons below to see the loading message with the indicated theme.
To display the loading message with no spinner:
$.mobile.showPageLoadingMsg("a", "No spinner", true);
Click the button below to see the loading message with no spinner.