I’m trying to embed a link in the Properties Panel that, when clicked, will generate an event that I can listen on to load another page in my application. I have looked at the proposal on GitHub for clickable shapes, which I would also like to see, but this is not a click at the shape level, it needs to be a property of a shape. I may have multiple clickable links per shape. The linkEntryFactory seems to fit my needs, but I think I am not understanding how it works.
I have successfully embedded the link in the properties panel via the link entryFactory. The element shows as a colored link and behaves like a clickable link on mouse rollover. I just can’t see how to listen on a click event. I see the linkSelected function in linkEntryFactory that appears to handle a click, but it seems to fire when the panel loads and not on a click of the link.
Are there any examples that use the link that might help me?