Quantcast
Channel: User pahan - Stack Overflow
Viewing all articles
Browse latest Browse all 42

Answer by pahan for Meteor Data Context of Template Event Handler is null

$
0
0

you can get the context from this.

Template.calendar.events({'click .calendar-day': function(e, template) {    console.log(this);  }});

Viewing all articles
Browse latest Browse all 42

Trending Articles