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

Cannot add scroll listener to coast controller #9

Open
mustafa-fahimi opened this issue Sep 6, 2021 · 3 comments
Open

Cannot add scroll listener to coast controller #9

mustafa-fahimi opened this issue Sep 6, 2021 · 3 comments

Comments

@mustafa-fahimi
Copy link

Is there any way to detect when the scroll is finished or adding a scroll listener?

@spkersten
Copy link
Owner

You could try using a CoastObserver. Its startTransition will be call when a transition starts and its animation parameter tracks the progress; you can check the status of the animation to see if the transition was completed.

@mustafa-fahimi
Copy link
Author

Can you provide an example inside the package example, please? Because it's very common to use.

@Gene-Dana
Copy link

Yeah it would be nice to see exactly how this works so I can figure out how to use it !

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

No branches or pull requests

3 participants