Drawflow icon indicating copy to clipboard operation
Drawflow copied to clipboard

double clicked node

Open quentingosset opened this issue 3 years ago • 0 comments

Hello, I see in your example, that it is possible to make a node that has a method ondbclick() in the HTML to execute a modal. However, I would like to know if there is a trigger directly by the editor for a double click on a node.

I know that there is for a selected node:

editor.on('nodeSelected', function (id) {
        toggleSidebar("right");
    });

however I would like to trigger a double click on the node. Is there a way to do this without having to use the method in the HTML?

quentingosset avatar Sep 20 '22 11:09 quentingosset