跳到主要内容

show

描述

可选。定义初始化时是否显示 Editbar

用法

show?: boolean;

默认配置

show: true

示例

const editor = new dhx.DiagramEditor("editor_container", {
type: "org",
view: {
// editbar: true, // 显示默认 Editbar
// 或通过对象配置 Editbar
editbar: {
css: "custom_css",
show: true,
width: 300,
controls: {...},
properties: {...}
}
}
});

更新日志:v6.0 中新增