gwendall:body-events

v0.1.7Published 5 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

- NOTE: This package is not maintained anymore.
- If you want to help, please reach out to gwendall.esnault@gmail.com

Meteor Body Events

Template.body.events working

Installation

meteor add gwendall:body-events

Methods

1Template.body.events({
2  "click .btn": function(e, data, tpl) {
3    // e -> jquery event
4    // data -> Blaze data context of the DOM element triggering the event handler
5    // tpl -> the parent template instance for the target element
6  }
7})