-
Notifications
You must be signed in to change notification settings - Fork 785
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
Possible to disable slider if slideCount = slideItems ? #53
Labels
Comments
Hey @darbymanning , If all the items are visible in the viewport
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using tiny-slider with the responsive option, to display 4 items -- I wondered if it was possible to have the slider disabled if all the items are visible in the viewport?
Not that this is particularly specific to my code, here it is for reference - might help clarify too:
So as there are a total of 4 items in the slider, at 1300px or higher, as the slides are all visible I want to disable the slider (ie. so mouseDrag / controls aren't visible etc). I guess ideally, it would be good to extend the responsive feature so that you can also specify other options for each breakpoint, rather than just number of slides).
The text was updated successfully, but these errors were encountered: