AfterExpand

fires after a shape has been expanded

void AfterExpand(string|number id){ ... };

Parameters

idstring|numberthe id of a shape which has been expanded

Example

diagram.events.on("AfterExpand", function(id) {
    console.log(diagram.data.getItem(id).text + " was expanded");
});

Related samples

See also
Back to top