K
K
ka2n2021-05-26 21:02:41
React
ka2n, 2021-05-26 21:02:41

How to implement a double click with a delay between clicks of no more than 300ms without the onDoubleClick event?

I have a TK in which you need to make a stopwatch.
One of the tasks - "Wait" - works on a double click (the time between clicks is no more than 300 ms!) the timer should stop counting down the time; if you press start after it, the countdown resumes.
- 300 mls is not DoubleClick

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question