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

Need hasNext & hasPrev methods #343

Closed
nadeemkhedr opened this issue Jul 25, 2016 · 2 comments
Closed

Need hasNext & hasPrev methods #343

nadeemkhedr opened this issue Jul 25, 2016 · 2 comments

Comments

@nadeemkhedr
Copy link

Can reuse same logic when specifying infinite: true
we need these two function for building next and prev buttons for sliders to disable & enable them

@nadeemkhedr
Copy link
Author

I know this is referenced in #138 but the answer there works well with slider that shows 1 item at a time, but for sliders that shows multiple items the case is different

you could be at slide 1 of 4 and next would be disabled because all of the 4 are shown

@nadeemkhedr
Copy link
Author

Able to solve if the number of slides visible at a time is known, closing the issue for now

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

1 participant