Swipe left and swipe right

#1

Have you searched the Docs and Knowledge base?
Principle Version: Version 4.7
macOS Version: 10.11.6
Sketch Version:
Description of what you need help with:
Is it possible to emulate a swipe right and a swipe left? i am aware of the drag end event but is there a way round detecting detecting the direction of swipe, whether it is rightward of leftward?

Thank you!

Steps to reproduce the behavior:
1.
2.
3.

Screenshots/Sketch File/Principle file: (if applicable)

0 Likes

#2

You can do it using the ‘page’ property on groups, select ‘page’ type in the horizontal or vertical selector of the enclosing group and you can play with that to achieve the swipe effect.

0 Likes