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

202
Visualizações
Is there an event that deal with after window.scrollTo method is fired?

Hello Guys is there a way to be notified after window scrolls using this method window.scrollTo(0, 500). In my case , I have scrolled up the window (vertical scroll ) to position 500px . I am looking for an event or way to deal with after window scroll gets 500px .If you see this example , alert(window.scrollY) don' t return the value passed to scrollTo method which is expected to be 500px but return 0 (init scroll )

window.scrollTo(0,500) ; // fired scroll 
alert(window.scrollY)  // check the scroll value , return 0

NB :Any tip will be helpfull

about 4 years ago · Juan Pablo Isaza
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