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

监听不到onScroll事件 #27

Open
muermaru opened this issue Jun 12, 2017 · 2 comments
Open

监听不到onScroll事件 #27

muermaru opened this issue Jun 12, 2017 · 2 comments

Comments

@muermaru
Copy link

项目里需要监听滚动事件,但是无论是监听组件的onScroll还是window的,或者是直接监听vux-scroller-uuid和xs-container的,都没有响应,请问怎么样实现这个功能呢

@huxiaoqi567
Copy link
Owner

var xscroll = new XScroll({renderTo:'元素ID'}); xscroll.render(); xscroll.on('scroll',function(e){ })

@muermaru
Copy link
Author

多谢回复,我回头试一下

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

2 participants