Pointermove does not fire for touch on IE

前端 未结 1 1491
死守一世寂寞
死守一世寂寞 2021-01-18 17:26

I want to listen to pointermove event on IE11, but it seems that pointermove only fires for mouse (and possibly pen), but not when you are using yo

相关标签:
1条回答
  • 2021-01-18 18:25

    I'm also trying to interface with IE11 touch. I believe MSGesture is used for touch events because in their documentation they refer to "fingers"

    http://msdn.microsoft.com/en-us/library/windows/apps/hh465856.aspx

    http://msdn.microsoft.com/en-US/library/ie/hh968249.aspx

    I believe the gestures you are interested in are: MSGestureStart - "Triggered when the screen is touched on a location over this element."

    MSGestureChange - "Triggered when the finger positions associated with the interaction moves on the screen."

    MSGestureEnd - "This event fires when all associated contacts are removed from the surface"

    0 讨论(0)
提交回复
热议问题