Skip to content

[FEATURE REQUEST] Slide end function #121

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

Closed
Pritoj opened this issue Sep 9, 2015 · 4 comments
Closed

[FEATURE REQUEST] Slide end function #121

Pritoj opened this issue Sep 9, 2015 · 4 comments

Comments

@Pritoj
Copy link

Pritoj commented Sep 9, 2015

Please add a feature to call a function on slide end and not just slide change. I know this can be achieved via the "slideEnded" event, but I don't know which slide has ended. I would want to customize the function based on which range was used so this would be uber-helpful.

@ValentinH
Copy link
Member

OK so you would like the same implementation as the slideChange function?

@Pritoj
Copy link
Author

Pritoj commented Sep 9, 2015

Yep.
I'll explain the use case.

So I have a list which updates based on the filter. If I use the "change" function, it runs while sliding, so I get multiple requests to the same API. What I really want is the final value.

@ValentinH
Copy link
Member

There is now a on-start and on-end callback that can be used as the on-change one. ;)

@Pritoj
Copy link
Author

Pritoj commented Sep 10, 2015

Awesome man, such quick response was not expected! Simply brilliant!

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