Socket
Socket
Sign inDemoInstall

react-scroll-parallax

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scroll-parallax - npm Package Compare versions

Comparing version 2.0.0-beta.2 to 2.0.0-beta.3

2

package.json
{
"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>

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc