API看板方法setEdit()本页内容setEdit() 描述 切换看板卡片编辑器的开启或关闭状态用法setEdit({ cardId: string | number } | null): void;参数此方法接受 null 或包含以下属性的对象: cardId - (必填)要编辑的卡片 ID 注释要关闭编辑器,使 用带有 null 参数的 setEdit() 方法示例// 创建看板const board = new kanban.Kanban("#root", { columns, cards});// 打开指定卡片 ID 的编辑器board.setEdit({ cardId: 1 });更新日志: 此方法在 v1.2 版本中引入