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

关于Slider 滑动输入条的滑块按钮,请添加双击事件 #7952

Open
1 task
gcqweb opened this issue Nov 25, 2024 · 1 comment
Open
1 task

关于Slider 滑动输入条的滑块按钮,请添加双击事件 #7952

gcqweb opened this issue Nov 25, 2024 · 1 comment

Comments

@gcqweb
Copy link

gcqweb commented Nov 25, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

需要快速定位,快速恢复到默认的值。
使用时发现当设置了自定义滑动,想要快速复原时需要集中精力去定位到默认值,

What does the proposed API look like?

双击事件,可调用自定义方法或者默认的方法

@YiMo1
Copy link

YiMo1 commented Nov 27, 2024

你可以增加一个按钮并给按钮绑定一个点击事件,点击后重置变量值,就像表单那样。
或者通过 mark 插槽在特定的点位标记。

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