Iron Router Multiple Data Context with Meteor
Here’s how to do it: Router.route(‘/things’, { name: ‘things’, waitOn: function () { return [this.subscribe(‘thing’),this.subscribe(‘thinga’)]; }, data: function () { […]
Here’s how to do it: Router.route(‘/things’, { name: ‘things’, waitOn: function () { return [this.subscribe(‘thing’),this.subscribe(‘thinga’)]; }, data: function () { […]
In template helpers and template events access the template data context using Example: Template.instance().data.items._id This page contains a wealth of […]
You must be logged in to post a comment.