-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
[Feat]: Trigger event (autoplay:select) on autoplay index update #1054
[Feat]: Trigger event (autoplay:select) on autoplay index update #1054
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done 👍.
Just two minor comments. In addition to these, we should add the event to the docs.
Thanks for your contribution @Mitch-At-Work. Feel free to squash the commits into to a single commit with the message:
Then it’s ready for a merge. If not, I will do it when possible. Cheers 👍🏻! |
6852be1
to
71a5d47
Compare
@Mitch-At-Work great work and thanks for your contribution. This feature will be included in the next release 🥳. |
Emit autoplay:triggered event on autoplay index change as discussed in:
Event is emitted after index change; listeners can retrieve the latest selectedScrollSnap from emblaApi regardless of direction to be compatible with upcoming autoplay direction feature.