Gets or sets the ToolTip content template.
Namespace: MindFusion.Common.UI
File: Tooltip.js
SyntaxJavaScript
Copy Code
|
|---|
get template() {} |
String. An HTML string representing the content template.
ExampleThe following code creates a new instance of the ToolTip class associated with the HTMLElement of a diagram and sets its template property.
JavaScript
Copy Code
|
|---|
var tooltip = new ui.Tooltip(diagram._element);
tooltip.template = t.outerHTML; |
See Also