Skip to content
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

滑屏组件 能否支持循环翻页,到最后一页时候继续往上划又翻到第一页 #6

Closed
cos800 opened this issue Nov 12, 2015 · 1 comment

Comments

@cos800
Copy link

cos800 commented Nov 12, 2015

如题

@cuizhenjie
Copy link

cuizhenjie commented Nov 18, 2015

可以试试通过

onSwipeUp: function(){
    if(this.index === this.lastVisitedIndex){
        this.moveto(0);
    }
};

实现循环。

@giiska giiska closed this as completed May 27, 2016
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

No branches or pull requests

3 participants