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
设置了isLooping: true循环播放后,单击会出现播放暂停 #400
Comments
手动产生一次滑动后会重新启动自动播放 |
设计的初衷是,用户点击了表示想操作当前的场景,可能是有其他交互,所以会停下来,slideEnd里面会自动判断autoplay的,如果开启,则继续播放。 |
我们产品的应用场景是在webview里有个轮播的图片,点击图片后会打开对应的链接,等用户看完链接内容点后退回到原来的页面时,轮播的图片却不继续播放了(我已经设置了isAutoplay为true),需要手动滑动一次之后才能继续正常自动播放。所以感觉这个设定有点奇怪,比如百度外卖的轮播banner,我点第一个进去看完出来之后,如果banner不再轮播了,后面几个banner有重要内容的话我就可能会错过。所以感觉可以把这个设定改成参数配置项,可能会稍微好点。 |
取值0+,0会立即唤醒,单位毫秒 |
nice~ |
是故意这样设定的吗,我看 http://be-fe.github.io/iSlider/demo/index_chinese.html#demo 这里的第二个demo也是这样,单击后轮播就会暂停。感觉这个设定不太合理,或者可以给一个配置参数选择是否需要暂停。目前我是用监听到 slideEnd 事件后再执行 islider.play() 来消除这个暂停的影响。
The text was updated successfully, but these errors were encountered: