Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic HTML / Javascript Component in Custom Nodes (Read 2295 times)
DSI
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 16
Joined: May 21st, 2020
HTML / Javascript Component in Custom Nodes
May 29th, 2020 at 7:26pm
Print Post  
I am evaluating the MVC version of this product for my organization.  Is it possible to add an HTML or Javascript element/component to a custom node?.  For context, I'd like to and a component to a node that when hovered over, will display a menu with buttons, hyperlinks, etc.  Thank you
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: HTML / Javascript Component in Custom Nodes
Reply #1 - May 30th, 2020 at 8:00am
Print Post  
You could handle the nodePointed event and show html elements in response. You might need to use the docToClient method to convert node's coordinates to offset in pixels relative to the view.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint