Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parallax-react-js

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parallax-react-js - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

build/lib/ParallaxContainer.js

@@ -25,3 +25,4 @@ import React from "react";

return ( //return children wrapped inside a div referenced by "thisContainer". Div is part of class "Parallex-Container" and has some simple style properties
React.createElement("div", { className: "Parallax-Container", ref: thisContainer, style: { height: "100%", overflow: "auto", width: "100%" } }, props.children));
React.createElement("div", { className: "Parallax-Container-Outer", style: { width: "100%", height: "100vh", display: 'flex' } },
React.createElement("div", { className: "Parallax-Container", ref: thisContainer, style: { height: "100%", overflow: "auto", width: "100%" } }, props.children)));
}

@@ -28,0 +29,0 @@ //"onscroll" function that takes the ParallaxContainer, the setter function for "prevScroll" and "prevScroll" itself as arguments.

{
"name": "parallax-react-js",
"version": "1.0.3",
"version": "1.0.4",
"description": "A libary for managing scroll speed of different components in react.",

@@ -5,0 +5,0 @@ "scripts": {

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