Skip to content

Commit a9823af

Browse files
committed
Added jquery mobile loader options to definition.
1 parent 884056b commit a9823af

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

jquerymobile/jquerymobile.d.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,12 +274,19 @@ interface LoadPageOptions {
274274
type?: string;
275275
}
276276

277+
interface LoaderOptions {
278+
theme?: string;
279+
textVisible?: boolean;
280+
html?: string;
281+
text?: string;
282+
}
283+
277284
interface JQueryMobile extends JQueryMobileOptions {
278285

279286
changePage(to: any, options?: ChangePageOptions): void;
280287
initializePage(): void;
281288
loadPage(url: any, options?: LoadPageOptions): void;
282-
loading(command: string, options? ): void;
289+
loading(command: string, options?: LoaderOptions): void;
283290

284291
base;
285292
silentScroll(yPos: number): void;
@@ -378,4 +385,4 @@ interface JQuery {
378385

379386
interface JQueryStatic {
380387
mobile: JQueryMobile;
381-
}
388+
}

0 commit comments

Comments
 (0)