Skip to main content
Michael Fan
Associate II
May 16, 2020
Question

How to realize the handleGestureEvent in fixed touch area?

  • May 16, 2020
  • 1 reply
  • 979 views

Hi,

I want to achieve this effect, when I slide from start coordinate to end coordinate ,the current screen can be changed to another screen,but the start coordinate  and end coordinate is fixed to an area,0693W000001cNbPQAU.pngplease see the annotation on the screenshot, and how can i realize it in my code?

Thanks!

This topic has been closed for replies.

1 reply

Martin KJELDSEN
Principal III
May 16, 2020

The gesture event also has coordinate information, so you could simply limit the screen transfer to the area you want.

/Martin