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

Range,增加激活/失焦或touchstart/touchend事件 #2804

Closed
sailstar opened this issue May 26, 2018 · 8 comments
Closed

Range,增加激活/失焦或touchstart/touchend事件 #2804

sailstar opened this issue May 26, 2018 · 8 comments

Comments

@sailstar
Copy link

想用range做个拉动验证激活码,激活range时弹出激活码图片,失焦时隐藏图片。但些组件未提供相应事情回调,有什么办法可以增加。

@unclay
Copy link
Collaborator

unclay commented May 26, 2018

下个版本支持

@unclay unclay closed this as completed May 26, 2018
@sailstar
Copy link
Author

这么快有响应,还以为是我昨天没认真看文档呢....已经在做替代方案了,看来不用改了。另外,#2606 Range,on-change事件的意思是:on-change事件是在拉动时立即触发的,能不能在手移开后再触发,或者增加一个。

@unclay
Copy link
Collaborator

unclay commented May 27, 2018

看下commit,已经加了touchstart和touchend,你说的那个手离开触发的应该可以用touchend

@sailstar
Copy link
Author

好的谢谢

@sailstar
Copy link
Author

测试了@on-touchstart和@on-touchend好像无效

@sailstar
Copy link
Author

2.9.2

@unclay
Copy link
Collaborator

unclay commented Jun 16, 2018

看了下官网demo是有的,你重新检查下,如果确定有问题,可以贴下重现代码

@nicoleXue1
Copy link

设置最小值为0 最大值为100 步长为10 但是30拖一下 就变成 41了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants