clusterize() {
return new Clusterize({
rows: this.DomArray,
scrollId: this.scrollId,
contentId: this.contentId,
rows_in_block: this.rows_in_block,
blocks_in_cluster: this.blocks_in_cluster,
show_no_data_row: this.show_no_data_row,
no_data_text: this.no_data_text,
no_data_class: this.no_data_class,
keep_parity: this.keep_parity,
tag: this.tag,
callbacks : {
// 在用新的集群替换以前的集群之前会被调用。
clusterWillChange: function() {},
// 在用新的集群替换之前的集群后会被调用
clusterChanged: function() {},
// 将被调用滚动。返回进度状态
scrollingProgress: function(progress) {}
}
});
}
怎么将callbacks给暴露呢。
放到一个属性里去