Socket
Socket
Sign inDemoInstall

react-rellax

Package Overview
Dependencies
9
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

7

lib/index.js

@@ -56,3 +56,4 @@ "use strict";

horizontal = _this$props.horizontal,
onMove = _this$props.onMove;
onMove = _this$props.onMove,
wrapper = _this$props.wrapper;
var config = {};

@@ -68,2 +69,6 @@

if (wrapper) {
config.wrapper = wrapper;
}
if (typeof onMove === 'function') {

@@ -70,0 +75,0 @@ config.callback = onMove.bind(this);

4

package.json
{
"name": "react-rellax",
"version": "1.0.2",
"version": "1.0.3",
"description": "React Parallax component using Rellax.js",

@@ -51,4 +51,4 @@ "main": "lib/index.js",

"prop-types": "^15.6.1",
"rellax": "^1.6.2"
"rellax": "^1.9.1"
}
}
# react-rellax
[Demo](https://nelonoel.github.io/react-rellax)
[Live Demo](https://open.nelo.is/react-rellax)

@@ -24,1 +24,2 @@ React Parallax component using [Rellax.js](https://github.com/dixonandmoe/rellax).

- `zIndex` _(int)_ : Orders component on the z-axis
- `wrapper` _(str)_ : Selector to use as a wrapper from which to calculate parallax position.
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc