afterShow
Description
Fires after the Toolbar, Editbar or Shapebar view is displayed
Usage
"afterShow": (view: "toolbar" | "shapebar" | "editbar") => void;
Parameters
The callback of the afterShow event is called with the following parameter:
view
- (required) a view that was displayed. Refer to theview
property for details.
info
For handling the inner events of Diagram Editor you can use the on() method.
Example
// initializing Diagram Editor
const editor = new dhx.DiagramEditor("editor_container", {
type: "default",
view: {
shapebar: false
}
});
// attaching a handler to the event
editor.view.events.on("afterShow", (view) => {
console.log("The " + view + " view of Diagram Editor was displayed");
});
Change log: Added in v6.0