Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

120
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda