[New Feature] Cannot refresh slide
component without reset its current index.
#269
Labels
slide
component without reset its current index.
#269
What problem does this feature solve?
无限加载需求:
Slider
组件在刷新时一定会重置当前下标 https://github.com/didi/cube-ui/blob/dev/src/components/slide/slide.vue#L146Infinite scroll load:
Slider
component will always reset itscurrentPageIndex
when callrefresh
method, how can I call refresh with specific page index?What does the proposed API look like?
Eg:
$slide.refresh(newPageIndex)
The text was updated successfully, but these errors were encountered: