Gets a reference to the tooltip's target element.
Namespace: MindFusion.Common.UI
File: Tooltip.js
SyntaxJavaScript
Copy Code
|
|---|
get target() {} |
HTMLElement. The target element.
ExampleThe following code checks if the target of a ToolTip is the HTMLElement associated with a diagram instance and then toggles the tooltip's visibility.
JavaScript
Copy Code
|
|---|
| if(tooltip.target == diagram._element) tooltip.toggle(); |
See Also