@types/pulltorefreshjs
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -5,2 +5,3 @@ // Type definitions for pulltorefreshjs 0.1 | ||
// Tamas Kinsztler <https://github.com/humpedli> | ||
// Samuel Bodin <https://github.com/bodinsamuel> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -34,2 +35,8 @@ | ||
/** | ||
* After which distance should we start pulling. | ||
* (Default: `0`) | ||
*/ | ||
distIgnore?: number; | ||
/** | ||
* Before which element the pull to refresh elements will be? | ||
@@ -101,2 +108,12 @@ * (default: `body`) | ||
/** | ||
* It returns the default HTML for the widget, __PREFIX__ is replaced. | ||
*/ | ||
getMarkup?(): string; | ||
/** | ||
* It returns the default CSS for the widget, __PREFIX__ is replaced. | ||
*/ | ||
getStyles?(): string; | ||
/** | ||
* The initialize function. | ||
@@ -126,10 +143,2 @@ */ | ||
shouldPullToRefresh?(): boolean; | ||
/** | ||
* This value will be passed as `{ passive: true|false }` to `touchmove` | ||
* listeners if passive-handlers are supported. | ||
* | ||
* Defaults to `false` | ||
*/ | ||
passive?: boolean; | ||
} | ||
@@ -136,0 +145,0 @@ |
{ | ||
"name": "@types/pulltorefreshjs", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "TypeScript definitions for pulltorefreshjs", | ||
@@ -16,13 +16,20 @@ "license": "MIT", | ||
"githubUsername": "humpedli" | ||
}, | ||
{ | ||
"name": "Samuel Bodin", | ||
"url": "https://github.com/bodinsamuel", | ||
"githubUsername": "bodinsamuel" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/pulltorefreshjs" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "fe0baeab477c761245edb0dc3c324915b573d56dc06efd21864397d78581d636", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "8cfdea23ba6e6abcb474ac1908925563a03ad7e682818eb363ed7b928724517b", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pulltorefreshjs | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pulltorefreshjs. | ||
Additional Details | ||
* Last updated: Tue, 13 Feb 2018 20:54:40 GMT | ||
### Additional Details | ||
* Last updated: Tue, 11 Feb 2020 17:07:15 GMT | ||
* Dependencies: none | ||
* Global values: PullToRefresh | ||
* Global values: `PullToRefresh` | ||
# Credits | ||
These definitions were written by Daniel Rosenwasser <https://github.com/DanielRosenwasser>, Tamas Kinsztler <https://github.com/humpedli>. | ||
These definitions were written by Daniel Rosenwasser (https://github.com/DanielRosenwasser), Tamas Kinsztler (https://github.com/humpedli), and Samuel Bodin (https://github.com/bodinsamuel). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6403
120