New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zscroller

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zscroller - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

3

lib/DOMScroller.js

@@ -85,2 +85,5 @@ 'use strict';

this.scroller = new Scroller(function (left, top, zoom) {
if (!init && options.onScroll) {
options.onScroll();
}
setTransform(contentStyle, 'translate3d(' + -left + 'px,' + -top + 'px,0) scale(' + zoom + ')');

@@ -87,0 +90,0 @@ if (scrollbars) {

2

package.json
{
"name": "zscroller",
"version": "0.2.1",
"version": "0.2.2",
"description": "dom scroller based on zynga scroller",

@@ -5,0 +5,0 @@ "keywords": [

@@ -53,2 +53,3 @@ # zscroller

|scrollbars |whether show scrollbars | bool | false |
|onScroll | onScroll callback | () => void | null |

@@ -55,0 +56,0 @@ ### method

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