Meteor Reactive Table Helper Arguments

2019-09-05 21:24发布

Using the latest version of Meteor with aslagle:reactive-table.

In Iron Router, I can pass a data context to my template:

router.js:

Router.route('/dates', {
  name: 'dates',
  data: {
    header_title: 'Dates & Times'
  }
});

dates.html:

<div class="bt-h1">{{header_title}}</div>

Can I do something similar with ReactiveTables, i.e. pass "variable" from router.js?

{{> reactiveTable collection=tests settings=variable}}

0条回答
登录 后发表回答