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

What is Framer? Join the Community
Return to index
Peter Ng
Posted Oct 04 - Read on Facebook

hacked together some pinch, pan, press with hammer 2.0 since i couldn't find an example out there. setting scale and drag position with originX and originY confuse the hell out of me but this should help you get started with hammer 2

http://share.framerjs.com/riwpcvodrq9f/

13 Comments

German Bauer

Nice job Peter!

Carlos Santiago

Joe Alfonso we def need to do this asap

Carlos Santiago

Peter this is awesome!!!

Yuhki Yamashita

Thanks, Peter!

Wouter Duijts

Facebook/whatsapp Make it rain! Pin :)

Paul Martens

Go Disneyland!

German Bauer

I can win moneys at Disneyland?

Marco Paglia

Nice music

Marc Krenn

I want to hug you, Peter! :) I was in dire need of a working hammer-module, so I'm very grateful for sharing this file with us!

Katie Wu

Hey Peter Ng, I get a [Error] TypeError: undefined is not an object (evaluating 'eventName.toLowerCase'), even though I typed "hammer = require "hammer" and pasted the line into my html file, AND copied and pasted your hammer.coffee and hammer.min.js files into my project. Somehow it's not recognizing the Events, like Events.Tap.

Alexander Bennett

I keep getting this error when I try to implement it into my own project: [framer.modules.js] ReferenceError: Can't find variable: Hammer

Javier Chávarri

Peter Ng I had missed this! Some weeks ago, I made a first proposal on a PR to have this included in Framer. It'd be great to know your thoughts https://github.com/koenbok/Framer/pull/244

Peter Ng

Can u guys share your projects? Hard to understand he errors in the blind

Read the entire post on Facebook