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.1 to 0.1.2

pulltorefreshjs/LICENSE

20

pulltorefreshjs/index.d.ts
// Type definitions for pulltorefreshjs 0.1
// Project: https://github.com/BoxFactura/pulltorefresh.js
// Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>
// Tamas Kinsztler <https://github.com/humpedli>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -8,2 +9,6 @@

export function destroyAll(): void;
export function setPassiveMode(isPassive: boolean): void;
export interface Options {

@@ -112,2 +117,17 @@ /**

resistanceFunction?(input: number): number;
/**
* Which condition should be met for pullToRefresh to trigger?
*
* Defaults to `!window.scrollY`
*/
shouldPullToRefresh?(): boolean;
/**
* This value will be passed as `{ passive: true|false }` to `touchmove`
* listeners if passive-handlers are supported.
*
* Defaults to `false`
*/
passive?: boolean;
}

@@ -114,0 +134,0 @@

13

pulltorefreshjs/package.json
{
"name": "@types/pulltorefreshjs",
"version": "0.1.1",
"version": "0.1.2",
"description": "TypeScript definitions for pulltorefreshjs",

@@ -9,3 +9,9 @@ "license": "MIT",

"name": "Daniel Rosenwasser",
"url": "https://github.com/DanielRosenwasser"
"url": "https://github.com/DanielRosenwasser",
"githubUsername": "DanielRosenwasser"
},
{
"name": "Tamas Kinsztler",
"url": "https://github.com/humpedli",
"githubUsername": "humpedli"
}

@@ -20,5 +26,4 @@ ],

"dependencies": {},
"peerDependencies": {},
"typesPublisherContentHash": "181eeea2d6e0f40de96ee734d5dd4cfbe191a33012064f525e6e4604c38a62b4",
"typesPublisherContentHash": "fe0baeab477c761245edb0dc3c324915b573d56dc06efd21864397d78581d636",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Fri, 31 Mar 2017 18:05:15 GMT
* Last updated: Tue, 13 Feb 2018 20:54:40 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: PullToRefresh

# Credits
These definitions were written by Daniel Rosenwasser <https://github.com/DanielRosenwasser>.
These definitions were written by Daniel Rosenwasser <https://github.com/DanielRosenwasser>, Tamas Kinsztler <https://github.com/humpedli>.
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