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

Custom navigation buttons outside & with correct disabled state #2271

Open
simonhenke opened this issue Aug 15, 2023 · 0 comments
Open

Custom navigation buttons outside & with correct disabled state #2271

simonhenke opened this issue Aug 15, 2023 · 0 comments

Comments

@simonhenke
Copy link

As described in #2013, it's possible to render navigation buttons outside of the slider component by passing the Slider ref and calling the respective methods on it (slickNext() and slickPrev()).

However, I didn't find a way to correctly disable the buttons based on the current slider state.
Maybe some additional properties like hasNext or hasPrev should be exposed on the Slider class?

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