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

有没有停止滚动事件? 和再次开始滚动事件 #68

Closed
adevin opened this issue Aug 2, 2019 · 3 comments
Closed

有没有停止滚动事件? 和再次开始滚动事件 #68

adevin opened this issue Aug 2, 2019 · 3 comments

Comments

@adevin
Copy link

adevin commented Aug 2, 2019

No description provided.

@chenxuan0000
Copy link
Owner

暂不支持,如果非要这个需求,

  1. 可以通过直接修改组件内data上的isHover为true实现,会拦截接下来所有的滚动。
  2. 如果要再次开始首先把他重置为false,然后在调用下_move事件。
    在父组件 this.$refs.组件ref.属性/方法来修改。

@beipiaoyu2011
Copy link

暂不支持,如果非要这个需求,

  1. 可以通过直接修改组件内data上的isHover为true实现,会拦截接下来所有的滚动。
  2. 如果要再次开始首先把他重置为false,然后在调用下_move事件。
    在父组件 this.$refs.组件ref.属性/方法来修改。

not work

@chenxuan0000
Copy link
Owner

this.$refs.组件ref._startMove()
this.$refs.组件ref._stopMove()

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