Add jQuery Mobile initializePage method

This commit is contained in:
Boris Yankov
2013-01-20 07:41:53 +02:00
parent 29f7488bcf
commit da733abd6e
2 changed files with 8 additions and 3 deletions

View File

@@ -251,4 +251,8 @@ function test_listview() {
$.mobile.listview.prototype.options.theme = "a";
$('#mylist').listview();
$('#mylist').listview('refresh');
}
function test_misc() {
$.mobile.initializePage();
}

View File

@@ -277,11 +277,12 @@ interface LoadPageOptions {
interface JQueryMobile extends JQueryMobileOptions {
changePage(to: any, options?: ChangePageOptions): void;
initializePage(): void;
loadPage(url: any, options?: LoadPageOptions): void;
loading(command: string, options?): void;
loading(command: string, options? ): void;
base;
silentScroll(yPos: number):void;
silentScroll(yPos: number): void;
activePage;
options: JQueryMobileOptions;