3

Would like to know if anyone have used backbone with hammer.js and how to implement the Backbone.View with the drag, hold events of hammer.js?

Peter C
  • 6,219
  • 1
  • 25
  • 37
HenryYP
  • 76
  • 1
  • 7
  • Found this link in another post http://www.undiscoveredfeatures.com/2012/04/using-raphaeljs-and-backbonejs-together.html which specify how to use raphael.js with backbone, however it would be good if someone can give more advice on it? It looked a little alien... – HenryYP Oct 24 '12 at 03:40
  • Here is the answer for this question: http://stackoverflow.com/a/13922369/1102013 – brain-geek Feb 03 '13 at 18:38

1 Answers1

2

You can't use Hammerjs events in delegateEvents directly, but there are plugins that patch Backbone.View to make it possible: https://github.com/wookiehangover/backbone.hammer.js

wookiehangover
  • 430
  • 2
  • 6