ElemeFE / element-react

Element UI
https://elemefe.github.io/element-react/index
MIT License
2.83k stars 443 forks source link

Mouse up/down event catch under button? #964

Open qqsea opened 5 years ago

qqsea commented 5 years ago

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!