Skip to content

Commit 2625222

Browse files
committed
Fixed loading method
Added empty loading method + return a JQuery object instead of void
1 parent 1c695a1 commit 2625222

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jquerymobile/jquerymobile.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ interface JQueryMobile extends JQueryMobileOptions {
329329
changePage(to: any, options?: ChangePageOptions): void;
330330
initializePage(): void;
331331
loadPage(url: any, options?: LoadPageOptions): void;
332-
loading(command: string, options?: LoaderOptions): void;
332+
loading(): JQuery;
333+
loading(command: string, options?: LoaderOptions): JQuery;
333334

334335
pageContainer: any;
335336
base: any;

0 commit comments

Comments
 (0)