search

Home  >  Q&A  >  body text

mobile-web-design - How to get passed elements in html5 touchmove?

If there are a b c three p on the screen. The finger slides from a to c
How to get the event of sliding to c?
I added touchmove to all three p's.
But the targets are all a

仅有的幸福仅有的幸福2814 days ago630

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-16 13:30:26

    
    $('body').on('touchmove',function(e){
        console.log(e.target);
    })
    

    reply
    0
  • Cancelreply