跳到主要内容

width

描述

可选。定义 Editbar 的宽度

用法

width?: number;

示例

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 中新增