react-scroll-parallax
Advanced tools
Comparing version 2.0.0-beta.2 to 2.0.0-beta.3
{ | ||
"name": "react-scroll-parallax", | ||
"version": "2.0.0-beta.2", | ||
"version": "2.0.0-beta.3", | ||
"description": "React components to create parallax scroll effects for banners, images or any other DOM elements.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -154,9 +154,8 @@ # React Scroll Parallax | ||
| Name | Type | Default | Description | | ||
| -------------------- | :-------: | :------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| **amount** | `Number` | | A value from `-1` to `1` that represents the vertical offset to be applied to the current layer, `0.1` would equal a `10%` offset on the top and bottom. | | ||
| **children** | `Element` | | Custom layer children provided as a React element, for example `<Video />` | | ||
| **expanded** | `Boolean` | `true` | Indicate if the layer should be expanded with negative top/bottom margins so the edges will never be visible. | | ||
| **image** | `String` | | Image source that will be applied as a CSS background image on the layer. | | ||
| **slowerScrollRate** | `Number` | | Indicates whether the layer should move faster or slower than the default rate of scroll. | | ||
| Name | Type | Default | Description | | ||
| ------------ | :-------: | :------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| **amount** | `Number` | | A value from `-1` to `1` that represents the vertical offset to be applied to the current layer, `0.1` would equal a `10%` offset on the top and bottom. | | ||
| **children** | `Element` | | Custom layer children provided as a React element, for example `<Video />` | | ||
| **expanded** | `Boolean` | `true` | Indicate if the layer should be expanded with negative top/bottom margins so the edges will never be visible. | | ||
| **image** | `String` | | Image source that will be applied as a CSS background image on the layer. | | ||
@@ -163,0 +162,0 @@ ## \<ParallaxProvider> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96614
256