akiran / akiran/react-slick

Custom navigation buttons outside & with correct disabled state

Đang mở
#2,271 0 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
11.9k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.