Is it possible to trigger a custom event with Meteor? I see that triggering custom jquery events doesn't work, since the Meteor events are separate from jQuery (as discussed here).
So if I had something like:
Template.foo.events({
'mouseenter .box, makeSelected .box': function() { ... }
})
It'd be nice if I could do something along the lines of:
Meteor.trigger($('.box')[0], 'makeSelected')
My current workaround is to just store the id that I want as data-id="{{_id}}"
on the dom element and then use that to modify a key in the Session, but being able to trigger the event feels more "DRY".