Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
is onTouchStart exactly equivalent to onMouseDown and onTouchEnd exactly equivalent to onMouseUp?

It is not behaving the same for me on a range slider.

The code that is triggered for the onMouseDown and the onTouchStart is exactly the same code and same for the end and up.

So are they exactly equivalent or are there differences?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

The event order triggered is (most of the cases)

touchstart  > touchmove >  touched > mousemove > mousedown > mouseup > click

So No they are not the same or equivalent, but can be considered to perform similar functionality on different devices

about 4 years ago · Juan Pablo Isaza Report

0

onTouchStart is used on touch screen surface whereas, onMouseDown is used when a user presses a mouse button over an element

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!