Skip to main content

shapeResize

Description

Fires after a shape has been resized

Usage

"shapeResize": () => void;
info

For handling the inner Diagram Editor events you can use the on() method.

Example

// initializing Diagram Editor
const editor = new dhx.DiagramEditor("editor_container");
// loading data
editor.parse(data);

// attaching a handler to the event
editor.events.on("shapeResize", () => {
console.log("The shape has been resized");
});