问题
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