mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Add jQuery Mobile initializePage method
This commit is contained in:
@@ -251,4 +251,8 @@ function test_listview() {
|
||||
$.mobile.listview.prototype.options.theme = "a";
|
||||
$('#mylist').listview();
|
||||
$('#mylist').listview('refresh');
|
||||
}
|
||||
|
||||
function test_misc() {
|
||||
$.mobile.initializePage();
|
||||
}
|
||||
7
jquerymobile/jquerymobile.d.ts
vendored
7
jquerymobile/jquerymobile.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user