跳到主要内容

css

描述

可选。为 Editbar 应用自定义 CSS 类

用法

css?: string;

示例

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