Gets a reference to the tooltip's target element.
Namespace: MindFusion.Common.UI
File: Tooltip.js
JavaScript Copy Code |
---|
get target() {} |
HTMLElement. The target element.
The 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(); |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |