touch event
Last updated
Was this helpful?
Last updated
Was this helpful?
⟩ ⟩ ⟩ touch
"" - finger (may be another finger) touches the screen.
"" - finger moved while touching.
"" - finger leaves the screen (other fingers may still be touching).
"" - a touch point has been disrupted in some way.
If you tap the screen, you’ll get
touch events:"", "", then
:"mousedown", "mouseup", "click"
if you tap the screen with 2 fingers, it may tigger events like the following:
or the following:
if you touch the screen
with 1 finger (and hold)
and then with a second finger
release second finger
release first finger
it might tigger events like the following:
replit ⟩ , require ⟩ ,
Eloquent JS ⟩ ⟩ ⭐️
⟩ ⟩
⟩
(., .pageY) - relative to page (document)
(.clientX, .clientY) - relative to .
⭐️