Get Template.body.events() working
- NOTE: This package is not maintained anymore.
- If you want to help, please reach out to [email protected]
Template.body.events working
meteor add gwendall:body-events
Template.body.events({
"click .btn": function(e, data, tpl) {
// e -> jquery event
// data -> Blaze data context of the DOM element triggering the event handler
// tpl -> the parent template instance for the target element
}
})