diff --git a/jquerymobile/jquerymobile-tests.ts b/jquerymobile/jquerymobile-tests.ts index bedec85bb5..a3d20194a9 100644 --- a/jquerymobile/jquerymobile-tests.ts +++ b/jquerymobile/jquerymobile-tests.ts @@ -25,6 +25,9 @@ function test_api() { var isAbs = $.mobile.path.isAbsoluteUrl("//foo.com/a/file.html"); var dirName = $.mobile.path.get("http://foo.com/a"); $.mobile.silentScroll(100); + + $.mobile.showPageLoadingMsg(); + $.mobile.hidePageLoadingMsg(); } function test_pagesDialogs() { @@ -255,4 +258,4 @@ function test_listview() { function test_misc() { $.mobile.initializePage(); -} \ No newline at end of file +} diff --git a/jquerymobile/jquerymobile.d.ts b/jquerymobile/jquerymobile.d.ts index 4be7faa9e4..2d6fa744a1 100644 --- a/jquerymobile/jquerymobile.d.ts +++ b/jquerymobile/jquerymobile.d.ts @@ -288,6 +288,8 @@ interface JQueryMobile extends JQueryMobileOptions { options: JQueryMobileOptions; transitionFallbacks; + showPageLoadingMsg(); + hidePageLoadingMsg(); loader; loading; loadPage; @@ -379,4 +381,4 @@ interface JQuery { interface JQueryStatic { mobile: JQueryMobile; -} \ No newline at end of file +}