跳到主要内容

width

描述

可选。设置编辑器 shapebar 的宽度

用法

width?: number;

默认配置

width: 300

示例

const editor = new dhx.DiagramEditor("editor_container", {
type: "default",
view: {
// shapebar: true, // 显示默认的 Shapebar
// 或通过对象配置 Shapebar
shapebar: {
width: 400 // 默认值为 300
}
}
});

相关文章: Shapebar

更新日志: v6.0 中新增