我正在使用流星鲨鱼分支.
有没有办法在空格键中的每个块助手中访问数组索引?
我正在寻找这样的东西.
{{#each humans}} {{this.arrayIndex}} {{/each}}
javascript meteor
例如,我有一个数组:var arr = ['a','b']并且只想获得模板中的第一个元素
templates meteor meteor-blaze
meteor ×2
javascript ×1
meteor-blaze ×1
templates ×1