width
Description
Optional. Sets the width of the shapebar of the editor
Usage
width?: number;
Default config
width: 300
Example
const editor = new dhx.DiagramEditor("editor_container", {
type: "default",
view: {
// shapebar: true, // displays default Shapebar
// or configure Shapebar via object
shapebar: {
width: 400 // 300 by default
}
}
});
Related article: Shapebar
Change log: Added in v6.0