Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: implement onScroll and update onProgress params #32

Merged
merged 3 commits into from Aug 1, 2022

Conversation

kindoflew
Copy link
Owner

This PR implements the onScroll prop to give users access to scrollTop (the number of pixels scrolled while the parallax effect is active) and updates onProgress to only use one value -- a float between 0 and 1 that represents the scroll progress of the Parallax container.

@kindoflew kindoflew merged commit 04bd2d6 into main Aug 1, 2022
@kindoflew kindoflew deleted the feature/onscroll branch August 1, 2022 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant