show()
Description
Shows Toolbar, Editbar, and Shapebar views of Diagram Editor
info
If you need to show the Toolbar, Editbar, or Shapebar view separately, call the show()
method with the corresponding parameter. To show all these elements, call the show()
method without parameters.
Usage
show(view?: "toolbar" | "shapebar" | "editbar"): void;
Parameters
toolbar
- (optional) shows Toolbarshapebar
- (optional) shows Shapebareditbar
- (optional) shows Editbar
Example
const editor = new dhx.DiagramEditor("editor_container", {
type: "default"
});
// shows the Shapebar view
editor.view.show("shapebar");
// shows Shapebar, Editbar, and Toolbar
editor.view.show();
Change log: Added in v6.0