2
您好我使用matteodem:Meteor的easy-search软件包。现在我分块我的成绩进入size
流星的块结果轻松搜索
Template.UserList.helpers({
users: function() {
all = Meteor.users.find().fetch();
chunks = [];
size = 3;
while (all.length > size) {
chunks.push({ row: all.slice(0, size)});
all = all.slice(size);
}
chunks.push({row: all});
return chunks;
}
});
组,它像一个风情万种,但现在我想知道如何与
{{#EasySearch.Each index=playersIndex }}
做到这一点,因为你不能拆分索引。任何人有一个想法让EasySearch.Each与Bootstrap行一起工作?
谢谢。
难道你不能仅仅通过调用你的'EasySearch.Index'来代替find调用吗? –