T
T
Tolik2282021-10-29 14:34:23
React
Tolik228, 2021-10-29 14:34:23

How to create an event for the left mouse button pressed down?

You need to hang the handler so that when the left mouse button is pressed, the value increases

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2021-10-29
@Tolik228

mousedown - pressing - turn on the increase counter
mouseup - release - turn off the counter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question