Meteor Reactive Table Helper Arguments

对着背影说爱祢 提交于 2020-01-06 09:03:26

问题


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

来源:https://stackoverflow.com/questions/28732955/meteor-reactive-table-helper-arguments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!