dynamically bind .on() method with event-map
问题 I'm using this syntax to make sure that the events bind on dynamically added li elements $('ul.list').on('click', 'li', function() { //do something }); I tried to archive the same with an event-map like this: $('ul.list').hammer({ css_hacks : false }).on({ swipe : function(event){ //do something }, doubletap : function(event){ //some more code } }, 'li'); but its not working at all. If I bind the events directly to the li element it works fine for existing elements, but not for dynamically