LineClick

fires on clicking a connector line

void LineClick(string|number id,Event e);

Parameters

idstring|numberthe id of a connector
eEventa native event object

Example

diagram.events.on("lineClick", function(id, events) {
    console.log(id);
});

Change log

added in v3.0

Back to top