-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
click event on connection not working #27
Comments
the event is "click". your example shows you binding to "connection". |
Corrected the code above. var instance = jsPlumb.getInstance(); Label click event is also not triggered |
can you reproduce in a jsfiddle? |
Here is the jsfiddle link |
@priyankapothala I have created jsfiddle with an event on the connection. https://jsfiddle.net/abhirocks550/j165uafc/ I hope this will help. |
@abhirocks550 can you share with us the solution you have made please, the jsfiddle you have shared is not working , thank you |
Hi @abhirocks550
i have used .on to add event dblclick on all connectors with clas name "jtk-connector" actually i need ot pass the clicked conn details inside method "onBlockConnectionDoubleClicked" how to achieve this? how to find out which conn is clicked.
tried this too but not working |
jsPlumb.bind("click", function(connection, originalEvent) {
alert('clicked on a connection');
});
click event is not triggered.
The text was updated successfully, but these errors were encountered: