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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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