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

What is Framer? Join the Community
Return to index
Noah Tsutsui
Posted Jul 20 - Read on Facebook

Is there a way to detect a swipe without dragging? I check out http://examples.framerjs.com/#draggable-swipe.framer but I don't actually want the layer to move, I just want a different function to run when the swipe event is detected.

8 Comments

Andreas Wahlström

Try layer.draggable.speedX = 0 and then same for speedY

Kostantinos Frantzis
Stephen Crowley

Kostantinos Frantzis - How well has Hammer.js been working out for you in your Framer projects? I am thinking of leveraging some of Hammers gesture controls myself.

Noah Tsutsui

How does one use Hammer.js in conjunction with Framer Studio?

Stephen Crowley

Koen had posted something awhile back- I'm looking for it now.

Kostantinos Frantzis

Stephen & Noah It works well for me. Using it just to extend framer events and detect simple gestures. Easy and clear.
Here is Koen's example on integrating framer and hammer http://cl.ly/2a1c3x0P1i2U

Stephen Crowley

Thanks Kostantinos !

Noah Tsutsui

Thanks dude!

Read the entire post on Facebook