lineDblClick

fires on double-clicking a connector line

void lineDblClick(string|number id,MouseEvent e){ ... };

Parameters

idstring|numberthe id of a connector
eMouseEventa native HTML event object

Example

diagram.events.on("lineDblClick", (id, event) => {
    console.log(id, event);
});
// For diagram editor
editor.diagram.events.on("lineDblClick", (id, event) => {
    console.log(id, event);
});

Related samples

See also
Change log

Added in v4.0

Back to top