You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

motion-parallax

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

motion-parallax - npm Package Compare versions

Comparing version

to
1.1.7

2

package.json
{
"name": "motion-parallax",
"version": "1.1.6",
"version": "1.1.7",
"description": "Focus on interaction, rather than just rolling parallax",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -166,4 +166,4 @@ /** 兼容ie */

element: ele.element,
xRange: parseInt(ele.element.dataset.xrange, 0) === 0 ? 0 : xRange,
yRange: parseInt(ele.element.dataset.yrange, 0) === 0 ? 0 : yRange,
xRange: xRange,
yRange: yRange,
offsetLeft: offsetLeft,

@@ -170,0 +170,0 @@ offsetTop: offsetTop,