Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to trigger the node double click? (Read 1193 times)
reshma
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 38
Joined: Jan 16th, 2018
How to trigger the node double click?
Jan 17th, 2018 at 12:46pm
Print Post  
How to trigger the node double click?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 2255
Joined: Oct 19th, 2005
Re: How to trigger the node double click?
Reply #1 - Jan 17th, 2018 at 1:39pm
Print Post  
You can trigger it by double clicking on a node. This shows how to add an event handler -

Code
Select All
var Events = MindFusion.Diagramming.Events;

diagram.addEventListener(Events.nodeDoubleClicked, onNodeDoubleClicked);

function onNodeDoubleClicked(diagram, e)
{
	// do stuff with e.node
} 

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint