Can i register multiple events for a Blaze click handler?


#1

is there a way to tie multiple events to a single click handler in Blaze? e.g.

Template.Foo.events({
	'click touchstart .my-div': function(event, template) {
		// do stuff
	},

is this supported, and if so how do i do it? the above does not work.


#2
Template.Foo.events({
  'click #me, click #foo, submit, onblur #field' (e, i) {
    // Stuff
  }
});

#3

awesome, thanks. +1 for use of foo.