michalzalobny / react-just-parallax Goto Github PK
View Code? Open in Web Editor NEWReact library for scroll and mousemove parallax effect ✨ Open source, production-ready
Home Page: react-just-parallax.vercel.app
License: MIT License
React library for scroll and mousemove parallax effect ✨ Open source, production-ready
Home Page: react-just-parallax.vercel.app
License: MIT License
It would be great if you could set up a custom threshold value for the observer (since the value 0.5 is specified in the source code).
Hi I have been searching how to use the parallaxContainerRef.
Here's the part of my code :
<div class="case nier_web"> <img id="img_web2" src={nier_frame2}/> <MouseParallax parallaxContainerRef enableOnTouchDevice shouldResetPosition="true" strength="0.02"> <img id="img_web" src={nier_frame}/> </MouseParallax> <p className='desc_web'>Web design + Développement web</p> </div>
I want the mouse parallax effect to stop when i'm not hovering the image.
Thank you for your help.
Imane
It would be great if the user could pass a boolean prop reverse which reverses the direction of the parallax in relation to the mouse move.
For example, the way this website does parallax on the astronaut.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.