Jquery mobile:加载微调器在JQM 1.4.4中不起作用

时间:2014-12-04 15:59:39

标签: android jquery-mobile cordova

我正在使用JQM 1.4.4并寻找加载消息微调器。 当我使用JQM 1.2时它与$.mobile.showPageLoadingMsg("a", "No spinner", true);一起工作正常 但是同样的方法不适用于JQM 1.4.4。

我在android上使用带有JQM 1.4.4的phonegap 3.4。

1 个答案:

答案 0 :(得分:3)

这是新的Loader Mehod在1.4中展示它。如果要隐藏微调器,则在选项中需要 textonly:true 。如果你想展示它然后把它拿出来

显示装载程序

$.mobile.loading( "show", {
  text: "Loading",
  textonly: true,
  textVisible: true,
  theme: "z",
  html: ""
})

<强>演示

http://jsfiddle.net/6y23pua7/

隐藏它$.mobile.loading( "hide" )

相关问题