mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Add definition and test for $.pjax.reload method.
This commit is contained in:
@@ -37,3 +37,7 @@ function test_enable() {
|
||||
function test_disable() {
|
||||
$.pjax.disable();
|
||||
}
|
||||
|
||||
function test_reload() {
|
||||
$.pjax.reload();
|
||||
}
|
||||
|
||||
Vendored
+5
@@ -120,4 +120,9 @@ interface PjaxStatic {
|
||||
* This is the case when a browser doesn't support pushState. It is sometimes useful to disable pushState for debugging on a modern browser.
|
||||
*/
|
||||
disable(): void;
|
||||
|
||||
/**
|
||||
* Reload current page with pjax.
|
||||
*/
|
||||
reload(): JQueryXHR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user