更新时间:2022-12-19 18:41:27
文档: http://jquerymobile.com/demos/1.0a4.1/#docs/api/methods.html
$.mobile.pageLoading (method)
显示或隐藏页面加载消息,可通过$ .mobile.loadingMessage对其进行配置. 参数: 完成(布尔值,默认为false,表示已开始加载). True将隐藏加载消息. 例子:
Show or hide the page loading message, which is configurable via $.mobile.loadingMessage. Arguments: Done (boolean, defaults to false, meaning loading has started). True will hide the loading message. Examples:
//cue the page loader
$.mobile.pageLoading();
//hide the page loader
$.mobile.pageLoading( true );