cardHeight
描述
可选。卡片的高度
用法
cardHeight?: number; // px
important
如果您同时使用 renderType: "lazy" 和 scrollType: "default" 设置,请务必通过 cardHeight 属性指定卡片的固定高度。如果未指定,卡片将不会显示。
示例
new kanban.Kanban("#root", {
cards,
columns,
cardHeight: 150, // px
// 其他参数
});
更新日志: 该属性在 v1.2 版本中添加
相关文档: 配置