userhandle with tooltip? and how to react to clicks?

hi,

is there a way to add a tooltip to a userhandle?

and could someone give me a working example how to handle a user click on a fixedUserHandle?


1 Reply

SS Sivakumar Sekar Syncfusion Team November 15, 2021 01:29 PM UTC

Hi Tobias, 

Please find the response to your query in the below table. 

is there a way to add a tooltip to a userhandle? 
Currently, we don’t have Tooltip support for user handles in our diagram control. We have logged “Tooltip support for user handles” as a feature. We do not have any immediate plans to start this feature. We will implement this feature in any one of our upcoming releases.    

You can track the feature status from the below link 


could someone give me a working example how to handle a user click on a fixedUserHandle? 

We have added the sample link to demonstrate how to handle a user click on a fixedUserHandle. We can able to trigger the click action on a fixedUserHandle using the fixeduserhandleclick event as shown in the below code snippet. Please refer to the below code snippet and sample for more information. 

fixedUserHandleClick={(args) => { 
                alert("You have click UserHandle ID "+args.fixedUserHandle.id +" in the node "+ args.element.id); 
            }} 


For more information about fixeduserhandles, we suggest you to refer the below documentation link. 



Regards, 
Sivakumar 


Loader.
Up arrow icon