@types/jquery.pjax
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -12,3 +12,3 @@ // Type definitions for jquery-pjax | ||
*/ | ||
interface PjaxPopStateEventObject extends JQueryEventObject { | ||
interface PjaxPopStateEventObject extends JQuery.Event { | ||
/** | ||
@@ -20,3 +20,3 @@ * Navigation direction. Could be "back" or "forward". | ||
interface PjaxSettings extends JQueryAjaxSettings { | ||
interface PjaxSettings extends JQuery.AjaxSettings { | ||
/** | ||
@@ -38,3 +38,3 @@ * A jQuery selector indicates where to stick the response body. E.g., $(container).html(xhr.responseBody). | ||
replace?: boolean; | ||
/** | ||
@@ -96,2 +96,4 @@ * How many requests to cache. Defaults to 20. | ||
pjax(delegationSelector: string, containerSelector?: string, options?: PjaxSettings): JQuery; | ||
on(event: 'pjax:popstate', handler: (e: PjaxPopStateEventObject) => void): this; | ||
} | ||
@@ -127,3 +129,3 @@ | ||
*/ | ||
click(event: JQueryEventObject, options?: PjaxSettings): void; | ||
click(event: JQuery.Event, options?: PjaxSettings): void; | ||
@@ -139,3 +141,3 @@ /** | ||
*/ | ||
click(event: JQueryEventObject, containerSelector?: string, options?: PjaxSettings): void; | ||
click(event: JQuery.Event, containerSelector?: string, options?: PjaxSettings): void; | ||
@@ -150,3 +152,3 @@ /** | ||
*/ | ||
submit(event: JQueryEventObject, options?: PjaxSettings): void; | ||
submit(event: JQuery.Event, options?: PjaxSettings): void; | ||
@@ -162,3 +164,3 @@ /** | ||
*/ | ||
submit(event: JQueryEventObject, containerSelector?: string, options?: PjaxSettings): void; | ||
submit(event: JQuery.Event, containerSelector?: string, options?: PjaxSettings): void; | ||
@@ -165,0 +167,0 @@ /** |
{ | ||
"name": "@types/jquery.pjax", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "TypeScript definitions for jquery-pjax", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "238286ddaedc7b99139977464f92319cee96f3a35812fc363776accbe0ea0678", | ||
"typesPublisherContentHash": "8e7194b8eb21f12388ac4838991777c780992d407ade15bddfcbf1323e84efb6", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 15 Jun 2017 20:15:09 GMT | ||
* Last updated: Mon, 26 Jun 2017 14:01:14 GMT | ||
* Dependencies: jquery | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
10865
157