Skip to content

Conversation

@yinyinnie
Copy link

当组件遇到一张图片的情况下,我个人觉得不需要自动轮播,并且也不需要手动滑动

@yinyinnie
Copy link
Author

Prevent conflicts with other components's "shape" attr, so modify attr "shape" to "daimajia_slider_shape"

@yinyinnie yinyinnie closed this Feb 2, 2016
@yinyinnie yinyinnie reopened this Feb 2, 2016
@Mauker1
Copy link

Mauker1 commented Mar 2, 2016

I tried this fix, but when I have more than 1 slide, the autocycle doesn't start automatically anymore.

@yinyinnie
Copy link
Author

@Mauker1 I just intercept the touch event when layout have only one slide. I has tested the code, it's ok

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

Successfully merging this pull request may close these issues.

2 participants