ElemeFE / ElemeFE/element-react

Mouse up/down event catch under button?

Open
#964 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

Now user can catch click event for button or other component. Whether or not can catch mouse down/up event?
I want to implement a speed up button. For example, If user just click the button once, the value will be changed by step one, but if user mouse click this button not loose it, the value will be updated by multiple steps. Like the speed up button within a music player.

Does element-ui support such function or from other way? For react? For mobile, touch down/up?
Thank you very much!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.