meteor-body-events

Get Template.body.events() working

Stars
12
- NOTE: This package is not maintained anymore.
- If you want to help, please reach out to [email protected]

Meteor Body Events

Template.body.events working

Installation

meteor add gwendall:body-events

Methods

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
  }
})