Search
DiagramItem.hyperLink Property
See Also
 





Gets or sets the hyperlink associated with this diagram item.

Namespace: MindFusion.Diagramming
File: DiagramItem.js

 Syntax

JavaScript  Copy Code

get hyperLink() {}
set hyperLink(value) {}

 Property Value

String

A string containing hyperlink URL.

 Remarks

This is just a data property, and clicking an item whose hyperlink is set does not automatically open the target page. If that's required, you could call window.open fron nodeClicked or linkClicked event handlers.

Another way to associate hyperlinks with items is by embedding <a> elements in text when enableStyledText is set to true. The control raises hyperlinkClicked event when users click on such embeded hyperlinks.

 See Also