Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/pulltorefreshjs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/pulltorefreshjs - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

25

pulltorefreshjs/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc