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

轮播组件建议添加 clearTimeout 接口 #3

Open
zaxlct opened this issue Jun 2, 2017 · 2 comments
Open

轮播组件建议添加 clearTimeout 接口 #3

zaxlct opened this issue Jun 2, 2017 · 2 comments

Comments

@zaxlct
Copy link
Collaborator

zaxlct commented Jun 2, 2017

用 React 或者 Vue 构建单页面应用时,组件生命周期处于销毁阶段时,希望能清除轮播组件使用的定时器
translation:(Use React or Vue to build a single page application, component life cycle in the destruction phase, hoping to remove carousel components using timer)

@HcySunYang
Copy link
Owner

@zaxlct For your question, my understanding is that you need a function to control the pause / start

@zaxlct
Copy link
Collaborator Author

zaxlct commented Jun 2, 2017

是的,需要一个开关。不然如果正在轮播中切换页面的话,可能会出现一些预料不到的问题

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