react-gsap-parallax
Advanced tools
Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "react-gsap-parallax", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "react-gsap-parallax React component", | ||
@@ -28,3 +28,3 @@ "main": "umd/react-gsap-parallax.js", | ||
"lodash.throttle": "^4.1.1", | ||
"raf": "^3.3.0", | ||
"raf": "^3.3.2", | ||
"ramda": "^0.23.0" | ||
@@ -31,0 +31,0 @@ }, |
@@ -24,5 +24,9 @@ # react-gsap-parallax | ||
id: React.PropTypes.string, | ||
scrollDistance: React.PropTypes.number.isRequired, | ||
style: React.PropTypes.object, | ||
children: React.PropTypes.node.isRequired, | ||
top: React.PropTypes.number, | ||
height: React.PropTypes.number.isRequired, | ||
scrolljack: React.PropTypes.bool, | ||
style: React.PropTypes.object | ||
onScroll: React.PropTypes.func, | ||
scrollableAncestor: React.PropTypes.node | ||
} | ||
@@ -36,8 +40,4 @@ static defaultProps = { | ||
If scrolljack is set to something other than 'true', it's value will be passed into the tweenTo function, for example: | ||
The parallax container can be positioned down the page--not necessarily at the top. Use the `top` and `height` props to control its position. | ||
```javascript | ||
scrolljack={{ease: 'Strong'}} | ||
``` | ||
## Parallax | ||
@@ -44,0 +44,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1896790
24126
Updatedraf@^3.3.2