locked
MSGestureTap and MSGestureDoubleTap in Release Preview

    Question

  • Hi all,

    I updated to Release Preview and my code for MSGestureTap and MSGestureDoubleTap cannot run. I don't know how. I tried it http://msdn.microsoft.com/en-us/library/ie/hh968249(v=vs.85).aspx but it just works for MSGestureTap. My code is below

    element.addEventListener("MSGestureDoubleTap", onDoubleTapZoom, false); element.addEventListener("MSGestureTap", onTap, false); gesture = new MSGesture(); gesture.target = element;


    Thursday, June 07, 2012 10:54 AM

Answers

  • Hi all,

    I fixed it. I'm using "click" and "dblclick" to handle, and it works well.

    Vivian

    • Marked as answer by Vivian Ng Friday, June 08, 2012 2:26 AM
    Friday, June 08, 2012 2:25 AM

All replies

  • Hi Vivian,

    They have changed "event model" for gesture event in Release Preview.

    Also, deprecated "MSGestureDoubleTap".

    For detail information, check "Migrating your Windows 8 Consumer Preview app to Windows 8 Release Preview".

    Thanks,

    Sachin


    Thursday, June 07, 2012 12:25 PM
  • Hi all,

    I fixed it. I'm using "click" and "dblclick" to handle, and it works well.

    Vivian

    • Marked as answer by Vivian Ng Friday, June 08, 2012 2:26 AM
    Friday, June 08, 2012 2:25 AM