【文件属性】:
文件名称:meteor-list-grouper:在您列出的内容中添加小组(标题?)
文件大小:12KB
文件格式:ZIP
更新时间:2021-07-14 14:30:18
JavaScript
流星列表石斑鱼
示例应用程序的实时版本: :
安装: meteor add krstffr:list-grouper
用法
这个包让你可以访问 ListGrouper 对象,它有一个名为.getGroup( options )的方法,它返回你的集合的分组版本。 像这样:
var groupedList = ListGrouper . getGroup ( {
// Pass a MongoDB cursor or just a native Array to the collection field
collection : WorldCupPlayers . find ( { } , { limit : 100 } ) ,
// How would you like your data to be grouped?
// The groupBy object conta
【文件预览】:
meteor-list-grouper-master
----.gitignore(8B)
----package.js(333B)
----examples()
--------list-grouper-example-2()
----README.md(3KB)
----versions.json(202B)
----lib()
--------list-grouper.js(4KB)