locked
How to catch a swipe gesture over Webview?

    Question

  • How can I detect swipe gesture over webview in windows 8.1?

    Is there any available example?

    Friday, June 13, 2014 7:40 AM

Answers

  • I don't believe you'll be able to catch the pointer events over the WebView but will need to handle any custom gestures within the HTML code itself.

    --Rob

    Saturday, June 14, 2014 6:28 AM
    Owner

All replies

  • I don't believe you'll be able to catch the pointer events over the WebView but will need to handle any custom gestures within the HTML code itself.

    --Rob

    Saturday, June 14, 2014 6:28 AM
    Owner
  • How would I do that?

    My page has JS code that detects the movement between pointerdown and pointerup events. However, pointerup is never triggered when the pressed pointer moves on the screen (i.e. doing a swipe gesture).

    I suspect this is because any movement is already handled by the WebView control.

    Can you provide any sample code for this?

    Monday, September 01, 2014 7:21 AM