react-scroll-parallax
Advanced tools
Comparing version 1.0.0-alpha to 1.0.0-alpha.1
{ | ||
"name": "react-scroll-parallax", | ||
"version": "1.0.0-alpha", | ||
"version": "1.0.0-alpha.1", | ||
"description": "React component to create parallax scrolling effects", | ||
@@ -9,3 +9,3 @@ "repository": { | ||
}, | ||
"main": "index.js", | ||
"main": "src/index.js", | ||
"scripts": { | ||
@@ -12,0 +12,0 @@ "dev": "jest && webpack --progress --colors --watch", |
@@ -13,2 +13,8 @@ # React Scroll Parallax | ||
Install | ||
``` | ||
npm i react-scroll-parallax | ||
``` | ||
Import `ParallaxScrollListener` on the client side. This will self invoke and create the **global** `ParallaxScrollListener` which will handle updating all parallax elements on scroll. | ||
@@ -15,0 +21,0 @@ |
239773
130