HyperlinkModel API in JavaScript Diagram API control
Interface for a class Hyperlink
Properties
color
string
Sets the fill color of the hyperlink
content
string
Defines the content for hyperlink
hyperlinkOpenState
LinkTarget
Allows the user to open the hyperlink in the new tab, current tab or new window
link
string
Defines the link for hyperlink
textDecoration
TextDecoration
Defines how the link should be decorated. For example, with underline/over line
- Overline - Decorates the text with a line above the text
- Underline - Decorates the text with an underline
- LineThrough - Decorates the text by striking it with a line
- None - Text will not have any specific decoration