Custom navigation buttons outside & with correct disabled state
未关闭
- 主要语言
- JavaScript
- 星标
- 11.9k
- 派生
- 2.1k
- PR 合并指标
- 30 天内没有已合并 PR
描述
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?
贡献指南
评估
这个 Issue 还没有评估数据。