This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Gavin McFarland
Posted Jul 25 - Read on Facebook

Has anyone got an example of how I can detect swiping in a certain direction using touchStart and touchEnd?


Anna Báguina

I have not, but need to implement the same thing, so going to wait for an advice here)

Gavin McFarland

Nice example thanks Koen. What about if you just want to detect a swipe without dragging a layer? For example I'm trying to animate a carousel to slide to the next banner after it has detected a swipe.

Koen Bok

You can do the same with TouchStart and TouchEnd.

Gavin McFarland

Is there something I can use to feedback the position of the cursor/finger? Or is that the same as DragMove?

Read the entire post on Facebook