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

How to listen / subscribe to animation finished #135

Closed
7 tasks
tenglongroy opened this issue Aug 18, 2020 · 2 comments
Closed
7 tasks

How to listen / subscribe to animation finished #135

tenglongroy opened this issue Aug 18, 2020 · 2 comments

Comments

@tenglongroy
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ x ] Feature request
[ ] Documentation issue or request

Current behavior

No such listener / subscription

Expected behavior

Would like to have a listener / subscription to inform when the animation finished, so that some actions can be performed after finishing.

Minimal reproduction of the problem with instructions

No

What is the motivation / use case for changing the behavior?

Need to know when the animation is finished so that some actions can be performed after finishing.

Environment

Angular version 10.0.5

Your version of @nicky-lenaers/ngx-scroll-to:
9.0.0

Browser:

  • [ x ] Chrome (desktop) version XX
  • Chrome (Android) version XX
  • Chrome (iOS) version XX
  • Firefox version XX
  • Safari (desktop) version XX
  • Safari (iOS) version XX
  • IE version XX
  • Edge version XX

Would like to have an API for me to listen / subscribe to animation finish event.

@andrejilderda
Copy link

@tenglongroy Do you mean you want to subscribe to the scroll finish event? In that case, this post might help:
#53 (comment)

@tenglongroy
Copy link
Author

@ajilderda Oh yes! that's the one! thank you!!!

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

2 participants